diff options
Diffstat (limited to 'backend/migrations/2020-12-26-051845_ar_integration')
-rw-r--r-- | backend/migrations/2020-12-26-051845_ar_integration/down.sql | 6 | ||||
-rw-r--r-- | backend/migrations/2020-12-26-051845_ar_integration/up.sql | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/backend/migrations/2020-12-26-051845_ar_integration/down.sql b/backend/migrations/2020-12-26-051845_ar_integration/down.sql new file mode 100644 index 0000000..f61b527 --- /dev/null +++ b/backend/migrations/2020-12-26-051845_ar_integration/down.sql | |||
@@ -0,0 +1,6 @@ | |||
1 | -- This file should undo anything in `up.sql` | ||
2 | alter table product | ||
3 | drop column src; | ||
4 | |||
5 | alter table product | ||
6 | drop column ios_src; | ||
diff --git a/backend/migrations/2020-12-26-051845_ar_integration/up.sql b/backend/migrations/2020-12-26-051845_ar_integration/up.sql new file mode 100644 index 0000000..16aa805 --- /dev/null +++ b/backend/migrations/2020-12-26-051845_ar_integration/up.sql | |||
@@ -0,0 +1,6 @@ | |||
1 | -- Your SQL goes here | ||
2 | alter table product | ||
3 | add src text(500); | ||
4 | |||
5 | alter table product | ||
6 | add ios_src text(500); | ||