Commit graph

8 commits

Author SHA1 Message Date
Lin Jen-Shin
b95da565cd Enable rubocop for db/**/* and ee/db/**/* 2018-07-25 17:47:12 +08:00
blackst0ne
bc00806a4e Add database helpers 'add_timestamps_with_timezone' and 'timestamps_with_timezone' 2017-06-13 22:44:13 +11:00
Kamil Trzcinski
a4dc5f79bf Make project_id, iid unique for deployments 2016-06-15 14:05:26 +02:00
Kamil Trzcinski
9e487100b5 Validate project and environment instead of only requiring 2016-06-15 14:05:10 +02:00
Kamil Trzcinski
14433b341d Make project_id and environment_id nullable
This is done to make belongs_to with required to properly validate association.
Otherwise `ActiveRecord::StatementInvalid` is raised.
2016-06-15 13:00:13 +02:00
Kamil Trzcinski
2541e50d7c Improve validations 2016-06-15 12:03:49 +02:00
Kamil Trzcinski
3ade826065 Add specs for models and services 2016-06-14 13:51:12 +02:00
Kamil Trzcinski
907c0e6796 Added initial version of deployments 2016-06-10 23:36:54 +02:00