-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #902 from andrew-bierman/feat/basic-crud-tests-for…
…-trpc-routes CRUD Tests for Trip Routes - [1]
- Loading branch information
Showing
4 changed files
with
1,690 additions
and
1,694 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
-- This is a dummy migration | ||
-- It does nothing | ||
SELECT 1;--> statement-breakpoint | ||
/* | ||
SQLite does not support "Creating foreign key on existing column" out of the box, we do not generate automatic migration for that, so it has to be done manually | ||
Please refer to: https://www.techonthenet.com/sqlite/tables/alter_table.php | ||
https://www.sqlite.org/lang_altertable.html | ||
Due to that we don't generate migration automatically and it has to be done manually | ||
*/ | ||
SELECT 1; |
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,8 +1 @@ | ||
ALTER TABLE item ADD `owner_id` text REFERENCES user(id);--> statement-breakpoint | ||
/* | ||
SQLite does not support "Creating foreign key on existing column" out of the box, we do not generate automatic migration for that, so it has to be done manually | ||
Please refer to: https://www.techonthenet.com/sqlite/tables/alter_table.php | ||
https://www.sqlite.org/lang_altertable.html | ||
Due to that we don't generate migration automatically and it has to be done manually | ||
*/ | ||
ALTER TABLE item ADD `owner_id` text REFERENCES user(id); |
Oops, something went wrong.