From 9fcc66b4dd5ef0e0c64eaa39954750d906bbd91c Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 31 Aug 2017 15:57:32 +0000 Subject: [PATCH] =?UTF-8?q?use=20versioned=20migrations=20for=20sample=20p?= =?UTF-8?q?lugin=20in=20the=20same=E3=80=80way=20of=20core=20r16807?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.redmine.org/redmine/trunk@16961 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- extra/sample_plugin/db/migrate/001_create_meetings.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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