Commit 2ba36995

mo k <mo@mokhan.ca>
2012-05-29 13:04:12
add city to users table
1 parent 144b2c1
db/migrate/20120529130122_add_city_to_users.rb
@@ -0,0 +1,5 @@
+class AddCityToUsers < ActiveRecord::Migration
+  def change
+    add_column :users, :city, :string
+  end
+end
db/schema.rb
@@ -11,7 +11,7 @@
 #
 # It's strongly recommended to check this file into your version control system.
 
-ActiveRecord::Schema.define(:version => 20120526134612) do
+ActiveRecord::Schema.define(:version => 20120529130122) do
 
   create_table "active_admin_comments", :force => true do |t|
     t.integer  "resource_id",   :null => false
@@ -104,6 +104,7 @@ ActiveRecord::Schema.define(:version => 20120526134612) do
     t.string   "website"
     t.string   "twitter"
     t.string   "facebook"
+    t.string   "city"
   end
 
   add_index "users", ["email"], :name => "index_users_on_email", :unique => true