-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
Make sure we test the current schema for the subject table. This commit adds some basic tests that we can use as a template for testing additional tables and schemas moving forward. Fixes #81
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
CREATE TABLE IF NOT EXISTS subjects ( | ||
id serial PRIMARY KEY, | ||
id uuid PRIMARY KEY, | ||
name VARCHAR(255), | ||
type VARCHAR(50) | ||
); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package integration_test | ||
|
||
type Subject struct { | ||
ID string | ||
Name string | ||
Type string | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.