summaryrefslogtreecommitdiff
path: root/db/ci/migrate/20140222210357_create_web_hook.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/ci/migrate/20140222210357_create_web_hook.rb')
-rw-r--r--db/ci/migrate/20140222210357_create_web_hook.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/ci/migrate/20140222210357_create_web_hook.rb b/db/ci/migrate/20140222210357_create_web_hook.rb
new file mode 100644
index 00000000000..743ad816906
--- /dev/null
+++ b/db/ci/migrate/20140222210357_create_web_hook.rb
@@ -0,0 +1,9 @@
+class CreateWebHook < ActiveRecord::Migration
+ def change
+ create_table :web_hooks do |t|
+ t.string :url, null: false
+ t.integer :project_id, null: false
+ t.timestamps
+ end
+ end
+end