Added Maps model
refs #16 This model will be used for storing information about each map
This commit is contained in:
1 parent
3a37b3f0d1
commit
2b34516aa8
4 files changed
+37
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user