generated from betagouv/template-nextjs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add picture_lines in db and save lines
- Loading branch information
Showing
8 changed files
with
2,413 additions
and
149 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CREATE TABLE picture_lines ( | ||
id TEXT PRIMARY KEY, | ||
"pictureId" TEXT REFERENCES pictures(id) ON DELETE CASCADE, | ||
lines TEXT NOT NULL, | ||
"createdAt" TIMESTAMP | ||
); | ||
|
||
ALTER TABLE picture_lines ENABLE ELECTRIC; |
541 changes: 524 additions & 17 deletions
541
packages/electric-client/src/generated/client/index.ts
Large diffs are not rendered by default.
Oops, something went wrong.
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.