diff options
author | Akshay <[email protected]> | 2020-12-26 14:43:19 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2020-12-26 14:43:19 +0000 |
commit | a7881f40ccaa623d757e762d1215d5e9bc9d1a7a (patch) | |
tree | 010712299e6b0735c162edb8a73f1be612c4d7f1 /backend/migrations | |
parent | 8014def1a8da3397d78d1162f9e1b8c3f22d0322 (diff) |
add AR integration
Diffstat (limited to 'backend/migrations')
-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); | ||