mirror of
https://github.com/penpot/penpot.git
synced 2025-06-27 08:57:02 +02:00
🎉 Add authentication with google.
This commit is contained in:
parent
5268a7663f
commit
19cd84597d
23 changed files with 589 additions and 276 deletions
14
backend/resources/migrations/0010-add-http-session-table.sql
Normal file
14
backend/resources/migrations/0010-add-http-session-table.sql
Normal file
|
@ -0,0 +1,14 @@
|
|||
DROP TABLE session;
|
||||
|
||||
CREATE TABLE http_session (
|
||||
id text PRIMARY KEY,
|
||||
|
||||
created_at timestamptz NOT NULL DEFAULT clock_timestamp(),
|
||||
modified_at timestamptz NOT NULL DEFAULT clock_timestamp(),
|
||||
|
||||
profile_id uuid REFERENCES profile(id) ON DELETE CASCADE,
|
||||
user_agent text NULL
|
||||
);
|
||||
|
||||
CREATE INDEX http_session__profile_id__idx
|
||||
ON http_session(profile_id);
|
Loading…
Add table
Add a link
Reference in a new issue