Initial public release of Warp.
Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE workspaces;
|
||||
|
||||
DROP TABLE workspace_teams;
|
||||
@@ -0,0 +1,14 @@
|
||||
-- Your SQL goes here
|
||||
CREATE TABLE workspaces (
|
||||
id integer NOT NULL PRIMARY KEY,
|
||||
name TEXT NOT NULL,
|
||||
server_uid TEXT NOT NULL UNIQUE
|
||||
);
|
||||
|
||||
CREATE TABLE workspace_teams (
|
||||
id integer NOT NULL PRIMARY KEY,
|
||||
workspace_server_uid TEXT NOT NULL UNIQUE,
|
||||
team_server_uid TEXT NOT NULL UNIQUE,
|
||||
FOREIGN KEY (workspace_server_uid) REFERENCES workspaces (server_uid),
|
||||
FOREIGN KEY (team_server_uid) REFERENCES teams (server_uid)
|
||||
);
|
||||
Reference in New Issue
Block a user