diff --git a/schema-migration/000-init.sql b/schema-migration/000-init.sql index 8751180..918edaa 100644 --- a/schema-migration/000-init.sql +++ b/schema-migration/000-init.sql @@ -45,8 +45,8 @@ CREATE TABLE arimelody.totp ( name TEXT NOT NULL, account UUID NOT NULL, secret TEXT, - created_at TIMESTAMP NOT NULL DEFAULT current_timestamp - confirmed BOOLEAN DEFAULT false, + created_at TIMESTAMP NOT NULL DEFAULT current_timestamp, + confirmed BOOLEAN DEFAULT false ); ALTER TABLE arimelody.totp ADD CONSTRAINT totp_pk PRIMARY KEY (account, name); diff --git a/schema-migration/001-pre-versioning.sql b/schema-migration/001-pre-versioning.sql index 37de432..7dc0259 100644 --- a/schema-migration/001-pre-versioning.sql +++ b/schema-migration/001-pre-versioning.sql @@ -45,8 +45,8 @@ CREATE TABLE arimelody.totp ( name TEXT NOT NULL, account UUID NOT NULL, secret TEXT, - created_at TIMESTAMP NOT NULL DEFAULT current_timestamp - confirmed BOOLEAN DEFAULT false, + created_at TIMESTAMP NOT NULL DEFAULT current_timestamp, + confirmed BOOLEAN DEFAULT false ); ALTER TABLE arimelody.totp ADD CONSTRAINT totp_pk PRIMARY KEY (account, name);