]> source.dussan.org Git - redmine.git/commitdiff
use versioned migrations for sample plugin in the same怀way of core r16807
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 31 Aug 2017 15:57:32 +0000 (15:57 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 31 Aug 2017 15:57:32 +0000 (15:57 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@16961 e93f8b46-1217-0410-a6f0-8f06a7374b81

extra/sample_plugin/db/migrate/001_create_meetings.rb

index fec9c8bd1dcba14d07c40fc16f4f2873a421d4e9..31beee3b78e7e27999a4717114850e3371a961ca 100644 (file)
@@ -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