diff --git a/db/migrate/024_create_sites.rb b/db/migrate/024_create_sites.rb new file mode 100644 --- /dev/null +++ b/db/migrate/024_create_sites.rb @@ -0,0 +1,15 @@ +class CreateSites < ActiveRecord::Migration + def self.up + create_table :sites do |t| + t.string :name + t.boolean :started + t.datetime :start_time + + t.timestamps + end + end + + def self.down + drop_table :sites + end +end