mirror of
https://github.com/penpot/penpot.git
synced 2025-02-09 16:48:16 -05:00
🐛 Add missing version field on pages table.
This commit is contained in:
parent
45cc4e0d27
commit
cd43a6c90e
1 changed files with 3 additions and 2 deletions
|
@ -10,6 +10,7 @@ CREATE TABLE IF NOT EXISTS pages (
|
|||
modified_at timestamptz NOT NULL DEFAULT clock_timestamp(),
|
||||
deleted_at timestamptz DEFAULT NULL,
|
||||
|
||||
version bigint NOT NULL,
|
||||
ordering smallint,
|
||||
|
||||
name text NOT NULL,
|
||||
|
@ -23,8 +24,8 @@ CREATE TABLE IF NOT EXISTS pages_history (
|
|||
user_id uuid NOT NULL REFERENCES users(id) ON DELETE CASCADE,
|
||||
page_id uuid NOT NULL REFERENCES pages(id) ON DELETE CASCADE,
|
||||
|
||||
created_at timestamptz NOT NULL,
|
||||
modified_at timestamptz NOT NULL,
|
||||
created_at timestamptz NOT NULL DEFAULT clock_timestamp(),
|
||||
modified_at timestamptz NOT NULL DEFAULT clock_timestamp(),
|
||||
version bigint NOT NULL DEFAULT 0,
|
||||
|
||||
pinned bool NOT NULL DEFAULT false,
|
||||
|
|
Loading…
Add table
Reference in a new issue