Commit Graph

4 Commits

Author SHA1 Message Date
Rémy Coutable a59e75a17f
Make the downtime_check task happy
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-30 16:15:02 +01:00
Rémy Coutable c33b489853
Add `null: true` to timestamps in migrations that does not define it
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>
2016-11-28 16:45:08 +01:00
Sean McGivern 98bb435f42 Enable RuboCop for migrations
Migrations shouldn't fail RuboCop checks - especially lint checks, such
as the nested method check. To avoid changing code in existing
migrations, add the magic comment to the top of each of them to skip
that file.
2016-06-09 16:05:25 +01:00
Dmitriy Zaporozhets a735ce2aa7 migrations for ssh key STI and deploy keys <-> projects relation 2013-05-06 12:27:54 +03:00