summaryrefslogtreecommitdiff
path: root/generator_templates/active_record
Commit message (Collapse)AuthorAgeFilesLines
* Add frozen_string_literal to migration templatessh-add-frozen-literal-templatesStan Hu2018-07-242-0/+4
| | | | Part of #47424
* Add remove_concurrent_index to database helperblackst0ne2017-04-062-12/+16
|
* Added checks for migration downtimemigration-downtime-tagsYorick Peterse2016-07-202-0/+16
| | | | | | | | | | | These new checks can be used to check if migrations require downtime or not (as tagged by their authors). In CI this compares the current branch with master so migrations added by merge requests are automatically verified. To check the migrations added since a Git reference simply run: bundle exec rake gitlab:db:downtime_check[GIT_REF]
* Move generator templates to generator_templates/Yorick Peterse2016-05-192-0/+90
Since we eager load everything in lib/ putting ERB code in .rb files will result in syntax errors. By moving the templates to ./generator_templates we can work around this.