mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-26 10:40:54 +00: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.
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");
|