debian-mirror-gitlab/lib/tasks/migrate/add_limits_mysql.rake
2017-08-17 22:00:37 +05:30

9 lines
328 B
Ruby

require Rails.root.join('db/migrate/limits_to_mysql')
require Rails.root.join('db/migrate/markdown_cache_limits_to_mysql')
desc "GitLab | Add limits to strings in mysql database"
task add_limits_mysql: :environment do
puts "Adding limits to schema.rb for mysql"
LimitsToMysql.new.up
MarkdownCacheLimitsToMysql.new.up
end