mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-09 00:50:04 +03:00
ab8204368c
Over time, I think we may end up having multiple services, so it seems like a good opportunity to name this one more specifically while the cost is low. It just seems like naming it "zed" and "zed-server" leaves it a bit open ended.
8 lines
222 B
SQL
8 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");
|