2014-01-22 07:22:47 -05:00
|
|
|
class CreateMergeRequestDiffs < ActiveRecord::Migration
|
|
|
|
def change
|
|
|
|
create_table :merge_request_diffs do |t|
|
2014-01-22 08:17:41 -05:00
|
|
|
t.string :state, null: false, default: 'collected'
|
2014-01-22 07:22:47 -05:00
|
|
|
t.text :st_commits, null: true, limit: 2147483647
|
|
|
|
t.text :st_diffs, null: true, limit: 2147483647
|
|
|
|
t.integer :merge_request_id, null: false
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|