debian-mirror-gitlab/lib/tasks/migrate/add_limits_mysql.rake

12 lines
449 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
require Rails.root.join('db/migrate/limits_to_mysql')
2017-08-17 22:00:37 +05:30
require Rails.root.join('db/migrate/markdown_cache_limits_to_mysql')
2017-09-10 17:25:29 +05:30
require Rails.root.join('db/migrate/merge_request_diff_file_limits_to_mysql')
2014-09-02 18:07:02 +05:30
2015-09-11 14:41:01 +05:30
desc "GitLab | Add limits to strings in mysql database"
2014-09-02 18:07:02 +05:30
task add_limits_mysql: :environment do
puts "Adding limits to schema.rb for mysql"
LimitsToMysql.new.up
2017-08-17 22:00:37 +05:30
MarkdownCacheLimitsToMysql.new.up
2017-09-10 17:25:29 +05:30
MergeRequestDiffFileLimitsToMysql.new.up
2014-09-02 18:07:02 +05:30
end