aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/schema-sqlserver.sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/schema-sqlserver.sql')
-rw-r--r--src/main/resources/schema-sqlserver.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/resources/schema-sqlserver.sql b/src/main/resources/schema-sqlserver.sql
index 947e5403..9ff21ed2 100644
--- a/src/main/resources/schema-sqlserver.sql
+++ b/src/main/resources/schema-sqlserver.sql
@@ -56,6 +56,7 @@ CREATE TABLE emails (
user_id bigint NOT NULL,
email character varying(128) NOT NULL,
subscr_hour smallint,
+ created_at datetimeoffset DEFAULT CURRENT_TIMESTAMP NOT NULL,
FOREIGN KEY (user_id) REFERENCES users(id)
);
CREATE TABLE facebook (