All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sql.migration.V20150703211853__AddAuthSmsCodeIsDeleted.sql Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
alter table auth_codes add column is_deleted boolean not null default false;
create index on auth_codes(transaction_hash, is_deleted);

alter table auth_sms_codes_obsolete add column is_deleted boolean not null default false;
create sequence tmp_seq;
alter table auth_sms_codes_obsolete add column id bigint not null default nextval('tmp_seq');
alter table auth_sms_codes_obsolete alter column id drop default;
drop sequence tmp_seq;
alter table auth_sms_codes_obsolete drop constraint auth_sms_codes_pkey;
alter table auth_sms_codes_obsolete add primary key(id);
create index on auth_sms_codes_obsolete(phone_number, is_deleted);




© 2015 - 2024 Weber Informatics LLC | Privacy Policy