sql.migration.V20150506191800__ChangeApnsTokenToBinary.sql Maven / Gradle / Ivy
DELETE from apple_push_credentials;
ALTER TABLE apple_push_credentials DROP COLUMN token;
ALTER TABLE apple_push_credentials ADD COLUMN token BYTEA NOT NULL;
DELETE from apple_push_credentials;
ALTER TABLE apple_push_credentials DROP COLUMN token;
ALTER TABLE apple_push_credentials ADD COLUMN token BYTEA NOT NULL;