Commit graph

7 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
Douwe Maan
dd980b46f1 Use up and down 2015-12-09 09:08:53 +01:00
Dmitriy Zaporozhets
5cc2315ee8
Fix migrations for postgres on test environment
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-12-07 19:06:28 +01:00
Dmitriy Zaporozhets
de724a7a34
Improve db schema for merge request diffs
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-01-22 15:17:41 +02:00
Dmitriy Zaporozhets
c983e8eb3d
Create separate table to store Merge request commits/diffs
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-01-22 14:22:47 +02:00