diff options
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20150313012111_create_subscribes_table.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/db/migrate/20150313012111_create_subscribes_table.rb b/db/migrate/20150313012111_create_subscribes_table.rb new file mode 100644 index 00000000000..706cf77118c --- /dev/null +++ b/db/migrate/20150313012111_create_subscribes_table.rb @@ -0,0 +1,12 @@ +class CreateSubscribesTable < ActiveRecord::Migration + def change + create_table :subscribes do |t| + t.integer :user_id + t.integer :merge_request_id + t.integer :issue_id + t.boolean :subscribed + + t.timestamps + end + end +end |