c33b489853
This is to ensure that migrations will still be consitent when we will upgrade to Rails 5 which default to `null: false` for timestamps columns. Fixes #23666. Signed-off-by: Rémy Coutable <remy@rymai.me>
11 lines
272 B
Ruby
11 lines
272 B
Ruby
# rubocop:disable all
|
|
class CreateDeployKeysProjects < ActiveRecord::Migration
|
|
def change
|
|
create_table :deploy_keys_projects do |t|
|
|
t.integer :deploy_key_id, null: false
|
|
t.integer :project_id, null: false
|
|
|
|
t.timestamps null: true
|
|
end
|
|
end
|
|
end
|