blob: 31beee3b78e7e27999a4717114850e3371a961ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Sample plugin migration
# Use rake db:migrate_plugins to migrate installed plugins
class CreateMeetings < ActiveRecord::Migration[4.2]
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
|