Class: GhostSchema::MigrationStore
- Inherits:
-
Object
- Object
- GhostSchema::MigrationStore
- Defined in:
- lib/ghost_schema/migration_store.rb
Class Attribute Summary collapse
-
.after_migrating_migrations ⇒ Object
Returns the value of attribute after_migrating_migrations.
-
.before_migrating_migrations ⇒ Object
Returns the value of attribute before_migrating_migrations.
-
.original_migrations_paths ⇒ Object
Returns the value of attribute original_migrations_paths.
Class Method Summary collapse
Class Attribute Details
.after_migrating_migrations ⇒ Object
Returns the value of attribute after_migrating_migrations.
6 7 8 |
# File 'lib/ghost_schema/migration_store.rb', line 6 def end |
.before_migrating_migrations ⇒ Object
Returns the value of attribute before_migrating_migrations.
5 6 7 |
# File 'lib/ghost_schema/migration_store.rb', line 5 def end |
.original_migrations_paths ⇒ Object
Returns the value of attribute original_migrations_paths.
4 5 6 |
# File 'lib/ghost_schema/migration_store.rb', line 4 def original_migrations_paths @original_migrations_paths end |
Class Method Details
.copy_files ⇒ Object
8 9 10 11 12 |
# File 'lib/ghost_schema/migration_store.rb', line 8 def copy_files copy_target_files.each do |file| FileUtils.copy(file, GhostSchema.migrations_path) end end |