summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/generators/rails/post_deployment_migration/post_deployment_migration_generator.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/generators/rails/post_deployment_migration/post_deployment_migration_generator.rb b/lib/generators/rails/post_deployment_migration/post_deployment_migration_generator.rb
index 392bd640192..7cb4bccb23c 100644
--- a/lib/generators/rails/post_deployment_migration/post_deployment_migration_generator.rb
+++ b/lib/generators/rails/post_deployment_migration/post_deployment_migration_generator.rb
@@ -1,3 +1,5 @@
+require 'rails/generators'
+
module Rails
class PostDeploymentMigrationGenerator < Rails::Generators::NamedBase
def create_migration_file