aboutsummaryrefslogtreecommitdiffstats
path: root/migrations
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2017-06-18 19:07:31 -0400
committerThibaut Horel <thibaut.horel@gmail.com>2017-06-18 19:07:31 -0400
commiteb41a250b7caa464e6f6d7297416bc8bd8d72a8c (patch)
treeeb45e10c91edfdb960a0a2e452eb1ceaf1c16968 /migrations
parentff81576e21f5b89cbf47856c520df3e5e0c9adbe (diff)
downloadlastfm-api-eb41a250b7caa464e6f6d7297416bc8bd8d72a8c.tar.gz
Add import count
Diffstat (limited to 'migrations')
-rw-r--r--migrations/20170618185500_scrobble_import_count.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/migrations/20170618185500_scrobble_import_count.sql b/migrations/20170618185500_scrobble_import_count.sql
new file mode 100644
index 0000000..c79bbef
--- /dev/null
+++ b/migrations/20170618185500_scrobble_import_count.sql
@@ -0,0 +1,10 @@
+
+-- +goose Up
+-- SQL in section 'Up' is executed when this migration is applied
+
+ALTER TABLE scrobble_import ADD COLUMN count int;
+
+-- +goose Down
+-- SQL section 'Down' is executed when this migration is rolled back
+
+ALTER TABLE scrobble_import DROP COLUMN count;