aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails_generator/generators/components
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails_generator/generators/components')
-rw-r--r--railties/lib/rails_generator/generators/components/migration/migration_generator.rb1
-rw-r--r--railties/lib/rails_generator/generators/components/session_migration/session_migration_generator.rb1
2 files changed, 0 insertions, 2 deletions
diff --git a/railties/lib/rails_generator/generators/components/migration/migration_generator.rb b/railties/lib/rails_generator/generators/components/migration/migration_generator.rb
index 95652139f9..a0d0d472c2 100644
--- a/railties/lib/rails_generator/generators/components/migration/migration_generator.rb
+++ b/railties/lib/rails_generator/generators/components/migration/migration_generator.rb
@@ -1,7 +1,6 @@
class MigrationGenerator < Rails::Generator::NamedBase
def manifest
record do |m|
- m.directory 'db/migrate'
m.migration_template 'migration.rb', 'db/migrate'
end
end
diff --git a/railties/lib/rails_generator/generators/components/session_migration/session_migration_generator.rb b/railties/lib/rails_generator/generators/components/session_migration/session_migration_generator.rb
index 12802858f6..a513fa5cbf 100644
--- a/railties/lib/rails_generator/generators/components/session_migration/session_migration_generator.rb
+++ b/railties/lib/rails_generator/generators/components/session_migration/session_migration_generator.rb
@@ -6,7 +6,6 @@ class SessionMigrationGenerator < Rails::Generator::NamedBase
def manifest
record do |m|
- m.directory 'db/migrate'
m.migration_template 'migration.rb', 'db/migrate'
end
end