diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-11-13 17:21:57 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-11-13 17:25:25 +0100 |
commit | 1558a2817081d9110eff20f5d429125e460d9a81 (patch) | |
tree | 52f5cddc9b4e8f248f5367601074e9af76019821 /migrations | |
parent | 4eca99a67c87dde25024877b8fc390ab67dde23c (diff) |
Add uuid field to "job" table
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'migrations')
-rw-r--r-- | migrations/2020-11-13-161449_add_job_uuid/down.sql | 5 | ||||
-rw-r--r-- | migrations/2020-11-13-161449_add_job_uuid/up.sql | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/migrations/2020-11-13-161449_add_job_uuid/down.sql b/migrations/2020-11-13-161449_add_job_uuid/down.sql new file mode 100644 index 0000000..d775ff6 --- /dev/null +++ b/migrations/2020-11-13-161449_add_job_uuid/down.sql @@ -0,0 +1,5 @@ +-- This file should undo anything in `up.sql` +ALTER TABLE + jobs +DROP COLUMN + uuid diff --git a/migrations/2020-11-13-161449_add_job_uuid/up.sql b/migrations/2020-11-13-161449_add_job_uuid/up.sql new file mode 100644 index 0000000..798a1b6 --- /dev/null +++ b/migrations/2020-11-13-161449_add_job_uuid/up.sql @@ -0,0 +1,5 @@ +-- Your SQL goes here +ALTER TABLE + jobs +ADD COLUMN + uuid UUID NOT NULL UNIQUE |