This repository has been archived by the owner on Apr 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add text+images to drawings backend.
- Loading branch information
1 parent
68b6d00
commit bef4ece
Showing
12 changed files
with
227 additions
and
98 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
backend/migrations/2024-04-01-191448_add_image_and_text/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
ALTER TYPE drawing_shape_type DROP VALUE 'label text'; | ||
ALTER TYPE drawing_shape_type DROP VALUE 'image'; | ||
|
||
ALTER TABLE drawings | ||
ADD COLUMN color varchar NOT NULL, | ||
ADD COLUMN fill_pattern boolean NOT NULL, | ||
ADD COLUMN stroke_width real NOT NULL; |
5 changes: 5 additions & 0 deletions
5
backend/migrations/2024-04-01-191448_add_image_and_text/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
ALTER TYPE drawing_shape_type ADD VALUE 'label text'; | ||
ALTER TYPE drawing_shape_type ADD VALUE 'image'; | ||
|
||
ALTER TABLE drawings | ||
DROP COLUMN color, | ||
DROP COLUMN fill_pattern, | ||
DROP COLUMN stroke_width; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.