summaryrefslogtreecommitdiffstats
path: root/lib/generators/redmine_plugin_model/templates/migration.rb.erb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/generators/redmine_plugin_model/templates/migration.rb.erb')
-rw-r--r--lib/generators/redmine_plugin_model/templates/migration.rb.erb13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/generators/redmine_plugin_model/templates/migration.rb.erb b/lib/generators/redmine_plugin_model/templates/migration.rb.erb
deleted file mode 100644
index 2a305a6a9..000000000
--- a/lib/generators/redmine_plugin_model/templates/migration.rb.erb
+++ /dev/null
@@ -1,13 +0,0 @@
-class <%= migration_name %> < ActiveRecord::Migration
- def self.up
- create_table :<%= table_name %> do |t|
-<% for attribute in attributes -%>
- t.column :<%= attribute.name %>, :<%= attribute.type %>
-<% end -%>
- end
- end
-
- def self.down
- drop_table :<%= table_name %>
- end
-end