Fix default value of users created_at in sqlite schema

This commit is contained in:
Max Brunsfeld 2024-01-23 11:36:35 -08:00
parent 1fd72d26cb
commit f3b014c9a9

View file

@ -7,7 +7,7 @@ CREATE TABLE "users" (
"invite_count" INTEGER NOT NULL DEFAULT 0,
"inviter_id" INTEGER REFERENCES users (id),
"connected_once" BOOLEAN NOT NULL DEFAULT false,
"created_at" TIMESTAMP NOT NULL DEFAULT now,
"created_at" TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
"metrics_id" TEXT,
"github_user_id" INTEGER
);