Added Maps model
refs #16 This model will be used for storing information about each map
This commit is contained in:
13
db/migrate/001_create_maps.rb
Normal file
13
db/migrate/001_create_maps.rb
Normal 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
|
||||
Reference in New Issue
Block a user