summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2017-08-31 15:57:32 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2017-08-31 15:57:32 +0000
commit9fcc66b4dd5ef0e0c64eaa39954750d906bbd91c (patch)
tree6a4362fefff9310b12b6f18663bec82710f92f35 /extra
parent1a04828a1be714a57703490c62ddb6bfdd4d8bb6 (diff)
downloadredmine-9fcc66b4dd5ef0e0c64eaa39954750d906bbd91c.tar.gz
redmine-9fcc66b4dd5ef0e0c64eaa39954750d906bbd91c.zip
use versioned migrations for sample plugin in the same way of core r16807
git-svn-id: http://svn.redmine.org/redmine/trunk@16961 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'extra')
-rw-r--r--extra/sample_plugin/db/migrate/001_create_meetings.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/sample_plugin/db/migrate/001_create_meetings.rb b/extra/sample_plugin/db/migrate/001_create_meetings.rb
index fec9c8bd1..31beee3b7 100644
--- a/extra/sample_plugin/db/migrate/001_create_meetings.rb
+++ b/extra/sample_plugin/db/migrate/001_create_meetings.rb
@@ -1,6 +1,6 @@
# Sample plugin migration
# Use rake db:migrate_plugins to migrate installed plugins
-class CreateMeetings < ActiveRecord::Migration
+class CreateMeetings < ActiveRecord::Migration[4.2]
def self.up
create_table :meetings do |t|
t.column :project_id, :integer, :null => false