mirror of
https://github.com/penpot/penpot.git
synced 2025-05-24 03:16:11 +02:00
🎉 Add dashboard custom fonts management.
This commit is contained in:
parent
2582e87ffa
commit
e15a212b14
42 changed files with 1329 additions and 208 deletions
|
@ -0,0 +1,20 @@
|
|||
CREATE TABLE team_font_variant (
|
||||
id uuid PRIMARY KEY DEFAULT uuid_generate_v4(),
|
||||
|
||||
team_id uuid NOT NULL REFERENCES team(id) ON DELETE CASCADE,
|
||||
profile_id uuid NULL REFERENCES profile(id) ON DELETE SET NULL,
|
||||
|
||||
created_at timestamptz NOT NULL DEFAULT now(),
|
||||
modified_at timestamptz NOT NULL DEFAULT now(),
|
||||
deleted_at timestamptz NULL DEFAULT NULL,
|
||||
|
||||
font_id text NOT NULL,
|
||||
font_family text NOT NULL,
|
||||
font_weight smallint NOT NULL,
|
||||
font_style text NOT NULL,
|
||||
|
||||
otf_file_id uuid NULL REFERENCES storage_object(id) ON DELETE SET NULL,
|
||||
ttf_file_id uuid NULL REFERENCES storage_object(id) ON DELETE SET NULL,
|
||||
woff1_file_id uuid NULL REFERENCES storage_object(id) ON DELETE SET NULL,
|
||||
woff2_file_id uuid NULL REFERENCES storage_object(id) ON DELETE SET NULL
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue