another big commit :D

This commit is contained in:
jomo
2013-10-07 04:59:21 +02:00
parent 2761387703
commit 5fac505a31
74 changed files with 1003 additions and 357 deletions
+23
View File
@@ -0,0 +1,23 @@
class CreateUsers < ActiveRecord::Migration
def change
create_table :users do |t|
t.string :name, :unique => true, :null => false
t.string :password_digest, :null => false
t.string :ign, :unique => true, :null => false
t.string :email, :unique => true, :null => false
t.string :confirm_code, :null => false
t.text :about
t.string :last_ip
t.string :skype, :unique => true
t.boolean :skype_public, :default => false
t.string :youtube, :unique => true
t.string :youtube_channelname
t.string :twitter, :unique => true
t.datetime :last_login
t.references :role, :null => false
t.timestamps
end
end
end