mirror of
https://github.com/redmine/redmine.git
synced 2026-07-06 20:09:20 +02: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:
@@ -1,4 +1,4 @@
|
||||
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| -%>
|
||||
|
||||
Reference in New Issue
Block a user