aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--db/migrations/2017-08-01_00-07-49_create_github_commit_plugin_channel_repo_urls.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/db/migrations/2017-08-01_00-07-49_create_github_commit_plugin_channel_repo_urls.txt b/db/migrations/2017-08-01_00-07-49_create_github_commit_plugin_channel_repo_urls.txt
new file mode 100644
index 0000000..4db3a2d
--- /dev/null
+++ b/db/migrations/2017-08-01_00-07-49_create_github_commit_plugin_channel_repo_urls.txt
@@ -0,0 +1,12 @@
+Description: Create a table for the GitHub Commit plugin to store repo URLs
+Created: 2017-08-01 00:08:44.998857 UTC
+Depends:
+Apply: |
+ CREATE TABLE IF NOT EXISTS plugin_github_commit_channel_repo_urls (
+ id INTEGER PRIMARY KEY,
+ channel TEXT NOT NULL,
+ repo_url TEXT NOT NULL
+ );
+
+Revert: |
+ DROP TABLE plugin_github_commit_channel_repo_urls;