aboutsummaryrefslogtreecommitdiff
path: root/backend/migrations
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-12-26 14:43:19 +0000
committerAkshay <[email protected]>2020-12-26 14:43:19 +0000
commita7881f40ccaa623d757e762d1215d5e9bc9d1a7a (patch)
tree010712299e6b0735c162edb8a73f1be612c4d7f1 /backend/migrations
parent8014def1a8da3397d78d1162f9e1b8c3f22d0322 (diff)
add AR integration
Diffstat (limited to 'backend/migrations')
-rw-r--r--backend/migrations/2020-12-26-051845_ar_integration/down.sql6
-rw-r--r--backend/migrations/2020-12-26-051845_ar_integration/up.sql6
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`
2alter table product
3drop column src;
4
5alter table product
6drop 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
2alter table product
3add src text(500);
4
5alter table product
6add ios_src text(500);