2014-04-15 10:26:15 -04:00
|
|
|
require Rails.root.join('db/migrate/limits_to_mysql')
|
2017-05-02 05:17:48 -04:00
|
|
|
require Rails.root.join('db/migrate/markdown_cache_limits_to_mysql')
|
2017-06-09 07:48:25 -04:00
|
|
|
require Rails.root.join('db/migrate/merge_request_diff_file_limits_to_mysql')
|
2014-04-15 10:26:15 -04:00
|
|
|
|
2015-06-23 10:52:40 -04:00
|
|
|
desc "GitLab | Add limits to strings in mysql database"
|
2014-03-11 14:20:15 -04:00
|
|
|
task add_limits_mysql: :environment do
|
|
|
|
puts "Adding limits to schema.rb for mysql"
|
|
|
|
LimitsToMysql.new.up
|
2017-05-02 05:17:48 -04:00
|
|
|
MarkdownCacheLimitsToMysql.new.up
|
2017-06-09 07:48:25 -04:00
|
|
|
MergeRequestDiffFileLimitsToMysql.new.up
|
2014-03-11 14:20:15 -04:00
|
|
|
end
|