First checkin
This commit is contained in:
parent
f207e2c8b7
commit
90b30db9e8
260 changed files with 37349 additions and 0 deletions
16
db/migrate/20121223115125_create_tracks_table.rb
Normal file
16
db/migrate/20121223115125_create_tracks_table.rb
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
class CreateTracksTable < ActiveRecord::Migration
|
||||
def up
|
||||
create_table :tracks do |t|
|
||||
t.string :guid, :null => false
|
||||
t.references :conference
|
||||
t.string :name, :null => false
|
||||
t.text :description
|
||||
t.string :color, :default => "ffffff"
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue