blob: e0df07b5551e0f2bda2e35f0541b34607f15fbb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
class CreateOccurrences < ActiveRecord::Migration
def self.up
create_table :occurrences do |t|
t.string :summary
t.datetime :start_time
t.datetime :end_time
t.integer :node_id
t.integer :event_id
t.timestamps
end
end
def self.down
drop_table :occurrences
end
end
|