From: Toshi MARUYAMA Date: Thu, 31 Aug 2017 15:57:32 +0000 (+0000) Subject: use versioned migrations for sample plugin in the same way of core r16807 X-Git-Tag: 4.0.0~517 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9fcc66b4dd5ef0e0c64eaa39954750d906bbd91c;p=redmine.git 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 --- 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