mirror of
https://github.com/penpot/penpot.git
synced 2025-06-03 09:31:39 +02:00
✨ Fix naming inconsistencies on migrations.
This commit is contained in:
parent
7d5f9c1078
commit
7bda554889
11 changed files with 87 additions and 33 deletions
|
@ -0,0 +1,9 @@
|
|||
CREATE TABLE presence (
|
||||
file_id uuid NOT NULL REFERENCES file(id) ON DELETE CASCADE,
|
||||
profile_id uuid NOT NULL REFERENCES profile(id) ON DELETE CASCADE,
|
||||
session_id uuid NOT NULL,
|
||||
|
||||
updated_at timestamptz NOT NULL DEFAULT clock_timestamp(),
|
||||
|
||||
PRIMARY KEY (file_id, session_id, profile_id)
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue