mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Set migration version in the plugin migration template (#26610).
git-svn-id: http://svn.redmine.org/redmine/trunk@16945 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
9f9f7993e6
commit
fe3d4d7e0c
@ -1,4 +1,4 @@
|
|||||||
class <%= @migration_class_name %> < ActiveRecord::Migration
|
class <%= @migration_class_name %> < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
|
||||||
def change
|
def change
|
||||||
create_table :<%= @table_name %> do |t|
|
create_table :<%= @table_name %> do |t|
|
||||||
<% attributes.each do |attribute| -%>
|
<% attributes.each do |attribute| -%>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user