mirror of
https://github.com/penpot/penpot.git
synced 2025-05-28 10:16:12 +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,14 @@
|
|||
--- Delete previously token related tables
|
||||
|
||||
DROP TABLE password_recovery_token;
|
||||
|
||||
--- Create a new generic table for store tokens.
|
||||
|
||||
CREATE TABLE generic_token (
|
||||
token text PRIMARY KEY,
|
||||
created_at timestamptz NOT NULL DEFAULT clock_timestamp(),
|
||||
valid_until timestamptz NOT NULL,
|
||||
content bytea NOT NULL
|
||||
);
|
||||
|
||||
COMMENT ON TABLE generic_token IS 'Table for generic tokens storage';
|
Loading…
Add table
Add a link
Reference in a new issue