tangled
alpha
login
or
join now
kacaii.dev
/
sigo
0
fork
atom
๐ฉโ๐ Firefighters API written in Gleam!
lustre
gleam
0
fork
atom
overview
issues
pulls
pipelines
:card_file_box: add primary key to crew_membership
kacaii.dev
1 week ago
6c8197a2
0bf6a0a7
verified
This commit was signed with the committer's
known signature
.
kacaii.dev
SSH Key Fingerprint:
SHA256:n9v7QGNWHCUv1x/483hCtPUvTsVabU5PzC5CSJMUNtI=
+5
-1
1 changed file
expand all
collapse all
unified
split
sql
create
tables.sql
+5
-1
sql/create/tables.sql
···
18
18
is_active boolean not null default false,
19
19
created_at timestamp not null default current_timestamp,
20
20
updated_at timestamp not null default current_timestamp,
21
21
+
21
22
primary key (id)
22
23
);
23
24
···
30
31
is_active boolean not null default false,
31
32
created_at timestamp not null default current_timestamp,
32
33
updated_at timestamp not null default current_timestamp,
34
34
+
33
35
primary key (id)
34
36
);
35
37
···
40
42
crew_id uuid not null references crew (id)
41
43
on update cascade on delete cascade,
42
44
user_id uuid not null references user_account (id)
43
43
-
on update cascade on delete cascade
45
45
+
on update cascade on delete cascade,
46
46
+
47
47
+
primary key (id)
44
48
);
45
49
46
50
create index idx_crew_membership_crew on crew_membership (crew_id);