Changed 'no badge' check to be more reliable, added rake task for creating superadmin users
This commit is contained in:
26
db/schema.rb
26
db/schema.rb
@@ -13,6 +13,12 @@
|
||||
|
||||
ActiveRecord::Schema.define(version: 20170522210610) do
|
||||
|
||||
create_table "badges", force: :cascade do |t|
|
||||
t.string "name", limit: 191
|
||||
t.string "symbol", limit: 191
|
||||
t.string "color", limit: 191
|
||||
end
|
||||
|
||||
create_table "blogposts", force: :cascade do |t|
|
||||
t.string "title", limit: 191
|
||||
t.text "content", limit: 65535
|
||||
@@ -44,7 +50,7 @@ ActiveRecord::Schema.define(version: 20170522210610) do
|
||||
t.integer "role_read_id", limit: 4
|
||||
t.integer "role_write_id", limit: 4
|
||||
t.integer "forumgroup_id", limit: 4
|
||||
t.integer "necro_length", limit: 4, default: -1
|
||||
t.integer "necro_length", limit: 4
|
||||
end
|
||||
|
||||
create_table "forums_labels", id: false, force: :cascade do |t|
|
||||
@@ -95,12 +101,6 @@ ActiveRecord::Schema.define(version: 20170522210610) do
|
||||
t.string "color", limit: 191
|
||||
end
|
||||
|
||||
create_table "badges", force: :cascade do |t|
|
||||
t.string "name"
|
||||
t.string "symbol"
|
||||
t.string "color"
|
||||
end
|
||||
|
||||
create_table "sessions", force: :cascade do |t|
|
||||
t.string "session_id", limit: 191, null: false
|
||||
t.text "data", limit: 65535
|
||||
@@ -132,14 +132,13 @@ ActiveRecord::Schema.define(version: 20170522210610) do
|
||||
t.string "last_ip", limit: 191
|
||||
t.string "skype", limit: 191
|
||||
t.boolean "skype_public", default: false
|
||||
t.string "youtube"
|
||||
t.string "youtube_channelname"
|
||||
t.string "twitter"
|
||||
t.string "email_token"
|
||||
t.string "youtube", limit: 191
|
||||
t.string "youtube_channelname", limit: 191
|
||||
t.string "twitter", limit: 191
|
||||
t.string "email_token", limit: 191
|
||||
t.boolean "confirmed", default: false
|
||||
t.datetime "last_seen"
|
||||
t.integer "role_id", limit: 4, null: false
|
||||
t.integer "badge_id"
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.boolean "mail_own_thread_reply", default: true
|
||||
@@ -147,8 +146,9 @@ ActiveRecord::Schema.define(version: 20170522210610) do
|
||||
t.boolean "mail_own_blogpost_comment", default: true
|
||||
t.boolean "mail_other_blogpost_comment", default: true
|
||||
t.boolean "mail_mention", default: true
|
||||
t.boolean "header_scroll", default: false
|
||||
t.integer "badge_id", limit: 4, default: 0
|
||||
t.boolean "utc_time", default: false
|
||||
t.boolean "header_scroll", default: false
|
||||
t.boolean "dark", default: false
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user