bunch of stuffs
This commit is contained in:
5
db/migrate/20130727063752_add_youtube_to_users.rb
Normal file
5
db/migrate/20130727063752_add_youtube_to_users.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddYoutubeToUsers < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :youtube, :string
|
||||
end
|
||||
end
|
||||
8
db/migrate/20130727071804_add_youtube_channelname.rb
Normal file
8
db/migrate/20130727071804_add_youtube_channelname.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
class AddYoutubeChannelname < ActiveRecord::Migration
|
||||
def up
|
||||
add_column :users, :youtube_channelname, :string
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
end
|
||||
5
db/migrate/20130728003021_add_twitter_to_users.rb
Normal file
5
db/migrate/20130728003021_add_twitter_to_users.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddTwitterToUsers < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :twitter, :string
|
||||
end
|
||||
end
|
||||
23
db/schema.rb
23
db/schema.rb
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20130526020734) do
|
||||
ActiveRecord::Schema.define(:version => 20130728003021) do
|
||||
|
||||
create_table "blogposts", :force => true do |t|
|
||||
t.string "title"
|
||||
@@ -30,20 +30,23 @@ ActiveRecord::Schema.define(:version => 20130526020734) do
|
||||
end
|
||||
|
||||
create_table "users", :force => true do |t|
|
||||
t.string "name", :null => false
|
||||
t.string "ign", :null => false
|
||||
t.integer "rank", :default => 10, :null => false
|
||||
t.boolean "banned", :default => false
|
||||
t.string "email", :null => false
|
||||
t.string "name", :null => false
|
||||
t.string "ign", :null => false
|
||||
t.integer "rank", :default => 10, :null => false
|
||||
t.boolean "banned", :default => false
|
||||
t.string "email", :null => false
|
||||
t.text "about"
|
||||
t.string "password_digest", :null => false
|
||||
t.string "password_digest", :null => false
|
||||
t.string "last_ip"
|
||||
t.string "skype"
|
||||
t.boolean "skype_public", :default => false
|
||||
t.boolean "skype_public", :default => false
|
||||
t.datetime "last_login"
|
||||
t.datetime "last_active"
|
||||
t.datetime "created_at", :null => false
|
||||
t.datetime "updated_at", :null => false
|
||||
t.datetime "created_at", :null => false
|
||||
t.datetime "updated_at", :null => false
|
||||
t.string "youtube"
|
||||
t.string "youtube_channelname"
|
||||
t.string "twitter"
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user