diff --git a/backends/postgres/migrations/20231005160721_make-job-id-bigint.down.sql b/backends/postgres/migrations/20231005160721_make-job-id-bigint.down.sql new file mode 100644 index 0000000..c5a7e7d --- /dev/null +++ b/backends/postgres/migrations/20231005160721_make-job-id-bigint.down.sql @@ -0,0 +1,2 @@ +ALTER TABLE neoq_jobs ALTER COLUMN id SET DATA TYPE integer; +ALTER SEQUENCE public.neoq_jobs_id_seq AS integer; diff --git a/backends/postgres/migrations/20231005160721_make-job-id-bigint.up.sql b/backends/postgres/migrations/20231005160721_make-job-id-bigint.up.sql new file mode 100644 index 0000000..802f027 --- /dev/null +++ b/backends/postgres/migrations/20231005160721_make-job-id-bigint.up.sql @@ -0,0 +1,2 @@ +ALTER TABLE neoq_jobs ALTER COLUMN id SET DATA TYPE bigint; +ALTER SEQUENCE public.neoq_jobs_id_seq AS bigint;