summaryrefslogtreecommitdiff
path: root/db/migrate/20140222210357_create_web_hook.rb
blob: 743ad81690676ddc12320378d73a26aad48ed7d2 (plain)
1
2
3
4
5
6
7
8
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