Commit d9f23cec authored by jplang's avatar jplang

Set migration version in the plugin migration template (#26610).

git-svn-id: https://svn.redmine.org/redmine/trunk@16945 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent e198e35e
class <%= @migration_class_name %> < ActiveRecord::Migration
class <%= @migration_class_name %> < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
def change
create_table :<%= @table_name %> do |t|
<% attributes.each do |attribute| -%>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment