blob: 29f92d4a0d613964bb4e9fadce19109180126089 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
"""
Create the groups table
"""
from yoyo import step
__depends__ = {'20221103_02_sGrIs-create-user-credentials-table'}
steps = [
step(
"""
CREATE TABLE IF NOT EXISTS groups(
group_id TEXT PRIMARY KEY NOT NULL,
group_name TEXT NOT NULL,
group_metadata TEXT
) WITHOUT ROWID
""",
"DROP TABLE IF EXISTS groups")
]
|