Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/generators/rails/post_deployment_migration/post_deployment_migration_generator.rb')
-rw-r--r--lib/generators/rails/post_deployment_migration/post_deployment_migration_generator.rb17
1 files changed, 0 insertions, 17 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
deleted file mode 100644
index 568104cb30b..00000000000
--- a/lib/generators/rails/post_deployment_migration/post_deployment_migration_generator.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-require 'rails/generators'
-
-module Rails
- class PostDeploymentMigrationGenerator < Rails::Generators::NamedBase
- def create_migration_file
- timestamp = Time.now.utc.strftime('%Y%m%d%H%M%S')
-
- template "migration.rb", "db/post_migrate/#{timestamp}_#{file_name}.rb"
- end
-
- def migration_class_name
- file_name.camelize
- end
- end
-end