Added Maps model

refs #16

This model will be used for storing information about each map
This commit is contained in:
2012-04-25 12:39:44 -04:00
parent 3a37b3f0d1
commit 2b34516aa8
4 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
class CreateMaps < ActiveRecord::Migration
def self.up
create_table :maps do |t|
t.column :package, :string
t.column :build, :string
t.column :map, :string
end
end
def self.down
drop_table :maps
end
end