mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 11:29:25 +00:00
fdfed3d7db
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
7 lines
222 B
SQL
7 lines
222 B
SQL
CREATE TABLE IF NOT EXISTS "access_tokens" (
|
|
"id" SERIAL PRIMARY KEY,
|
|
"user_id" INTEGER REFERENCES users (id),
|
|
"hash" VARCHAR(128)
|
|
);
|
|
|
|
CREATE INDEX "index_access_tokens_user_id" ON "access_tokens" ("user_id");
|