mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 08:46:19 +08:00
14 lines
387 B
Ruby
14 lines
387 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
require "rails/generators/active_record/migration/migration_generator"
|
||
|
|
||
|
class Rails::PostMigrationGenerator < ActiveRecord::Generators::MigrationGenerator
|
||
|
source_root "#{Gem.loaded_specs["activerecord"].full_gem_path}/lib/rails/generators/active_record/migration/templates"
|
||
|
|
||
|
private
|
||
|
|
||
|
def db_migrate_path
|
||
|
Discourse::DB_POST_MIGRATE_PATH
|
||
|
end
|
||
|
end
|