mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-10 04:27:40 +00:00
8 lines
255 B
MySQL
8 lines
255 B
MySQL
|
CREATE TABLE dev_servers (
|
||
|
id INT PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
|
||
|
channel_id INT NOT NULL REFERENCES channels(id),
|
||
|
name TEXT NOT NULL,
|
||
|
hashed_token TEXT NOT NULL
|
||
|
);
|
||
|
CREATE INDEX idx_dev_servers_on_channel_id ON dev_servers (channel_id);
|