It's been waaay too long since I last committed. Eesh.
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
class CreateMaps < ActiveRecord::Migration
|
||||
def self.up
|
||||
create_table :maps do |t|
|
||||
t.string :name
|
||||
t.string :unique_hash
|
||||
t.string :name, :null => false
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
@@ -1,10 +1,10 @@
|
||||
class CreateMashes < ActiveRecord::Migration
|
||||
def self.up
|
||||
create_table :mashes do |t|
|
||||
t.string :requester
|
||||
t.integer :map_a
|
||||
t.integer :map_b
|
||||
t.integer :winner
|
||||
t.string :requester, :null => false
|
||||
t.integer :map_a, :null => false
|
||||
t.integer :map_b, :null => false
|
||||
t.integer :winner, :null => false
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
Reference in New Issue
Block a user