summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authormo k <mo@mokhan.ca>2012-05-17 06:58:47 -0600
committermo k <mo@mokhan.ca>2012-05-17 06:58:47 -0600
commita72eae9ec401a6fbf0675d681858ea3fdfee40e7 (patch)
treeb17292384572bd248e0b636bec5a6e0de849fc1e /db/migrate
parent224be5744f3929658fd3da0e85e9affc4b21b34c (diff)
add website property to the User model and create migration.
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20120517125545_add_website_to_users.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20120517125545_add_website_to_users.rb b/db/migrate/20120517125545_add_website_to_users.rb
new file mode 100644
index 00000000..8687ceca
--- /dev/null
+++ b/db/migrate/20120517125545_add_website_to_users.rb
@@ -0,0 +1,5 @@
+class AddWebsiteToUsers < ActiveRecord::Migration
+ def change
+ add_column :users, :website, :string
+ end
+end