repo.or.cz
/
lyrix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
The code is now completely covered in specs
[lyrix.git]
/
db
/
migrate
/
003_create_usages.rb
blob
7ba4d9675b89471e41f7b768afba24b438bfd7b1
1
class CreateUsages < ActiveRecord::Migration
2
def self.up
3
create_table :usages do |t|
4
t.column :show_id, :integer
5
t.column :song_id, :integer
6
t.column :position, :integer
7
t.column :created_at, :datetime
8
t.column :updated_at, :datetime
9
end
10
end
11
12
def self.down
13
drop_table :usages
14
end
15
end