Skip to content

Commit

Permalink
user.rb and scheme.rb modified after migration
Browse files Browse the repository at this point in the history
  • Loading branch information
ofsound committed Dec 4, 2018
1 parent 05d5f91 commit bad1aef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions app/models/user.rb
Expand Up @@ -186,11 +186,9 @@ def make_first_user_admin
# Table name: users
#
# id :integer not null, primary key
# activated_at :datetime
# admin :boolean default(FALSE)
# assets_count :integer default(0), not null
# bandwidth_used :integer default(0)
# bio_html :text(16777215)
# comments_count :integer default(0)
# crypted_password :string(128) default(""), not null
# current_login_at :datetime
Expand All @@ -203,9 +201,7 @@ def make_first_user_admin
# last_login_at :datetime
# last_login_ip :string(255)
# last_request_at :datetime
# lat :float(24)
# listens_count :integer default(0)
# lng :float(24)
# login :string(40)
# login_count :integer default(0), not null
# moderator :boolean default(FALSE)
Expand Down
6 changes: 1 addition & 5 deletions db/schema.rb
Expand Up @@ -263,8 +263,7 @@
t.string "instagram"
t.string "website"
t.string "user_agent"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.datetime "updated_at"
t.index ["user_id"], name: "index_profiles_on_user_id"
end

Expand Down Expand Up @@ -603,9 +602,6 @@
t.integer "comments_count", default: 0
t.string "last_login_ip"
t.text "settings", limit: 16777215
t.float "lat"
t.float "lng"
t.text "bio_html", limit: 16777215
t.integer "posts_count", default: 0
t.boolean "moderator", default: false
t.integer "followers_count", default: 0
Expand Down

0 comments on commit bad1aef

Please sign in to comment.