Class: ActiveGraph::Generators::UpgradeV8Generator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- ActiveGraph::Generators::UpgradeV8Generator
show all
- Includes:
- MigrationHelper, SourcePathHelper
- Defined in:
- lib/active_graph/generators/upgrade_v8_generator.rb
Instance Method Summary
collapse
#base_migration_file_name, #existing_migration, #migration_file_name, #migration_lookup_at, #migration_template
Instance Method Details
#create_upgrade_v8_file ⇒ Object
7
8
9
10
|
# File 'lib/active_graph/generators/upgrade_v8_generator.rb', line 7
def create_upgrade_v8_file
@schema = load_all_models_schema!
migration_template 'migration.erb'
end
|
#file_name ⇒ Object
12
13
14
|
# File 'lib/active_graph/generators/upgrade_v8_generator.rb', line 12
def file_name
'upgrate_to_v8'
end
|