Sha256: 4e64e73ea12f7d210ca71aa86710313efba5f73ceb12d22bd390368d168083bf

Contents?: true

Size: 376 Bytes

Versions: 34

Compression:

Stored size: 376 Bytes

Contents

# Sample plugin migration
# Use rake db:migrate_plugins to migrate installed plugins
class CreateMeetings < ActiveRecord::Migration
  def self.up
    create_table :meetings do |t|
      t.column :project_id, :integer, :null => false
      t.column :description, :string
      t.column :scheduled_on, :datetime
    end
  end

  def self.down
    drop_table :meetings
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
redmine_extensions-0.0.39 spec/redmine/extra/sample_plugin/db/migrate/001_create_meetings.rb
redmine_extensions-0.0.38 spec/redmine/extra/sample_plugin/db/migrate/001_create_meetings.rb
redmine_extensions-0.0.37 spec/redmine/extra/sample_plugin/db/migrate/001_create_meetings.rb
redmine_extensions-0.1.11 spec/redmine/extra/sample_plugin/db/migrate/001_create_meetings.rb
redmine_extensions-0.1.10 spec/redmine/extra/sample_plugin/db/migrate/001_create_meetings.rb
redmine_extensions-0.0.36 spec/redmine/extra/sample_plugin/db/migrate/001_create_meetings.rb
redmine_extensions-0.0.34 spec/redmine/extra/sample_plugin/db/migrate/001_create_meetings.rb
redmine_extensions-0.1.09 spec/redmine/extra/sample_plugin/db/migrate/001_create_meetings.rb
redmine_extensions-0.1.07 spec/redmine/extra/sample_plugin/db/migrate/001_create_meetings.rb
redmine_extensions-0.1.06 spec/redmine/extra/sample_plugin/db/migrate/001_create_meetings.rb
redmine_extensions-0.1.05 spec/redmine/extra/sample_plugin/db/migrate/001_create_meetings.rb
redmine_extensions-0.1.04 spec/redmine/extra/sample_plugin/db/migrate/001_create_meetings.rb
redmine_extensions-0.1.03 spec/redmine/extra/sample_plugin/db/migrate/001_create_meetings.rb
redmine_extensions-0.0.33 spec/redmine/extra/sample_plugin/db/migrate/001_create_meetings.rb
redmine_extensions-0.1.02 spec/redmine/extra/sample_plugin/db/migrate/001_create_meetings.rb
redmine_extensions-0.1.01 spec/redmine/extra/sample_plugin/db/migrate/001_create_meetings.rb
redmine_extensions-0.0.29 spec/redmine/extra/sample_plugin/db/migrate/001_create_meetings.rb
redmine_extensions-0.0.28 spec/redmine/extra/sample_plugin/db/migrate/001_create_meetings.rb
redmine_extensions-0.0.27 spec/redmine/extra/sample_plugin/db/migrate/001_create_meetings.rb
redmine_extensions-0.0.24 spec/redmine/extra/sample_plugin/db/migrate/001_create_meetings.rb