mirror of
https://github.com/aykhans/slash-e.git
synced 2025-06-15 12:27:49 +00:00
feat: add title field to workspace
This commit is contained in:
@ -37,6 +37,7 @@ CREATE TABLE workspace (
|
||||
updated_ts BIGINT NOT NULL DEFAULT (strftime('%s', 'now')),
|
||||
row_status TEXT NOT NULL CHECK (row_status IN ('NORMAL', 'ARCHIVED')) DEFAULT 'NORMAL',
|
||||
name TEXT NOT NULL UNIQUE,
|
||||
title TEXT NOT NULL,
|
||||
description TEXT NOT NULL DEFAULT ''
|
||||
);
|
||||
|
||||
|
@ -1,29 +1,33 @@
|
||||
INSERT INTO
|
||||
INSERT INTO
|
||||
workspace (
|
||||
`id`,
|
||||
`id`,
|
||||
`creator_id`,
|
||||
`name`,
|
||||
`name`,
|
||||
`title`,
|
||||
`description`
|
||||
)
|
||||
VALUES
|
||||
(
|
||||
11,
|
||||
11,
|
||||
101,
|
||||
'minecraft',
|
||||
'minecraft',
|
||||
''
|
||||
);
|
||||
|
||||
INSERT INTO
|
||||
INSERT INTO
|
||||
workspace (
|
||||
`id`,
|
||||
`id`,
|
||||
`creator_id`,
|
||||
`name`,
|
||||
`name`,
|
||||
`title`,
|
||||
`description`
|
||||
)
|
||||
VALUES
|
||||
(
|
||||
12,
|
||||
12,
|
||||
102,
|
||||
'bob',
|
||||
'bob-room',
|
||||
''
|
||||
);
|
||||
);
|
Reference in New Issue
Block a user