Users model and integration

This commit is contained in:
magnolia-fan
2011-06-21 04:48:53 +04:00
parent 93130968fd
commit 49f1fba33a
9 changed files with 75 additions and 3 deletions
+15
View File
@@ -0,0 +1,15 @@
class CreateUsers < ActiveRecord::Migration
def self.up
create_table :users do |t|
t.string :name
t.string :email
t.integer :vkid
t.timestamps
end
end
def self.down
drop_table :users
end
end