From a5b139f6e767ada7a0100153d9564d9286a7069b Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Mon, 5 Mar 2012 22:42:04 -0500 Subject: [PATCH] Meant to add this so that I can regenerate/update maps with same params as initial seed. --- rails/map-mash/db/migrate/20120304151123_create_maps.rb | 1 + rails/map-mash/db/schema.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/rails/map-mash/db/migrate/20120304151123_create_maps.rb b/rails/map-mash/db/migrate/20120304151123_create_maps.rb index 00e9da5..5e01f18 100644 --- a/rails/map-mash/db/migrate/20120304151123_create_maps.rb +++ b/rails/map-mash/db/migrate/20120304151123_create_maps.rb @@ -2,6 +2,7 @@ class CreateMaps < ActiveRecord::Migration def self.up create_table :maps do |t| t.string :name + t.string :unique_hash t.timestamps end diff --git a/rails/map-mash/db/schema.rb b/rails/map-mash/db/schema.rb index 0d8428b..53c776b 100644 --- a/rails/map-mash/db/schema.rb +++ b/rails/map-mash/db/schema.rb @@ -13,6 +13,7 @@ ActiveRecord::Schema.define(:version => 20120304164625) do create_table "maps", :force => true do |t| t.string "name" + t.string "unique_hash" t.datetime "created_at" t.datetime "updated_at" end