Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions migrations/202503131711_add_table_film.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CREATE TABLE IF NOT EXISTS film (
id int,

Check warning on line 2 in migrations/202503131711_add_table_film.sql

View workflow job for this annotation

GitHub Actions / check-release-on-prod

Column "id" in "public"."film" cannot have NULL value. Targets: instances/prod-sample-instance/databases/hr_prod https://www.bytebase.com/docs/reference/error-code/advisor#402
name text

Check warning on line 3 in migrations/202503131711_add_table_film.sql

View workflow job for this annotation

GitHub Actions / check-release-on-prod

Column "name" in "public"."film" cannot have NULL value. Targets: instances/prod-sample-instance/databases/hr_prod https://www.bytebase.com/docs/reference/error-code/advisor#402
);
1 change: 1 addition & 0 deletions migrations/202503131714_alter_table_film.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE IF EXISTS film ADD COLUMN IF NOT EXISTS release_date date;

Check warning on line 1 in migrations/202503131714_alter_table_film.sql

View workflow job for this annotation

GitHub Actions / check-release-on-prod

Column "release_date" in "public"."film" cannot have NULL value. Targets: instances/prod-sample-instance/databases/hr_prod https://www.bytebase.com/docs/reference/error-code/advisor#402