An error occurred fetching the project authors.
- 20 Apr, 2020 1 commit
-
-
Yannis Roussos authored
- Add Migration/String cop to enforce usage of the text data type instead of string - Remove the existing Migration/AddLimitToStringColumns cop and its rspec tests as strings are no longer allowed - Add Migration/Text cop to enforce limit on text columns - Add rspec tests for the Migration/String and the Migration/Text cops - Disable the offenses caused by existing migrations with strings or texts without limits
-
- 23 Aug, 2019 2 commits
-
-
Mayra Cabrera authored
This cop will analyze migrations that add columns with string, and report an offense if the string has no limit enforced Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/64505
-
Mayra Cabrera authored
This cop will analyze migrations that add columns with string, and report an offense if the string has no limit enforced Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/64505
-
- 22 Nov, 2018 2 commits
-
-
Jan Provaznik authored
-
Jan Provaznik authored
DB schema generated by a migration may look different in rails 4 and 5 (because rails 5 may use different default values). For this reason it's important to explicitly set for which rails version a migration was written for. See https://stackoverflow.com/questions/35929869/activerecordmigration-deprecation-warning-asks-for-rails-version-but-im-no/35930912#35930912
-
- 03 Nov, 2018 1 commit
-
-
Chris Baumbauer authored
-
- 01 Nov, 2018 1 commit
-
-
Chris Baumbauer authored
-
- 30 Oct, 2018 1 commit
-
-
Chris Baumbauer authored
-
- 25 Oct, 2018 1 commit
-
-
Chris Baumbauer authored
-
- 14 Sep, 2018 1 commit
-
-
Nick Thomas authored
-
- 08 Mar, 2018 3 commits
-
-
Micaël Bergeron authored
-
Micaël Bergeron authored
-
Micaël Bergeron authored
-
- 25 Jan, 2018 1 commit
-
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 07 Sep, 2017 1 commit
-
-
James Edwards-Jones authored
-
- 07 Jul, 2017 1 commit
-
-
Valery Sizov authored
-
- 16 May, 2017 1 commit
-
-
Valery Sizov authored
-
- 04 May, 2017 1 commit
-
-
Luke "Jared" Bennett authored
-
- 05 Apr, 2017 1 commit
-
-
blackst0ne authored
-
- 20 Jul, 2016 1 commit
-
-
Yorick Peterse authored
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]
-
- 03 Jun, 2016 2 commits
-
-
James Lopez authored
This reverts commit 3e991230.
-
James Lopez authored
# Conflicts: # app/models/project.rb
-
- 19 May, 2016 2 commits
-
-
Yorick Peterse authored
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.
-
Yorick Peterse authored
-
- 12 May, 2016 2 commits
-
-
Yorick Peterse authored
-
Yorick Peterse authored
This allows us to automatically include Gitlab::Database::MigrationHelpers into newly generated migrations.
-