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

10 lines
328 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')
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
2014-09-02 18:07:02 +05:30
end