mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 11:29:25 +00:00
Fix default value of users created_at in sqlite schema
This commit is contained in:
parent
1fd72d26cb
commit
f3b014c9a9
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ CREATE TABLE "users" (
|
||||||
"invite_count" INTEGER NOT NULL DEFAULT 0,
|
"invite_count" INTEGER NOT NULL DEFAULT 0,
|
||||||
"inviter_id" INTEGER REFERENCES users (id),
|
"inviter_id" INTEGER REFERENCES users (id),
|
||||||
"connected_once" BOOLEAN NOT NULL DEFAULT false,
|
"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,
|
"metrics_id" TEXT,
|
||||||
"github_user_id" INTEGER
|
"github_user_id" INTEGER
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue