remove Role entity and set language to pt-BR
This commit is contained in:
10
db/schema.rb
generated
10
db/schema.rb
generated
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.0].define(version: 2022_07_22_153417) do
|
||||
ActiveRecord::Schema[7.0].define(version: 2022_07_25_225343) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
||||
@@ -118,13 +118,6 @@ ActiveRecord::Schema[7.0].define(version: 2022_07_22_153417) do
|
||||
t.index ["user_id"], name: "index_review_requests_on_user_id"
|
||||
end
|
||||
|
||||
create_table "roles", force: :cascade do |t|
|
||||
t.string "name"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.index ["name"], name: "index_roles_on_name", unique: true
|
||||
end
|
||||
|
||||
create_table "roles_users", id: false, force: :cascade do |t|
|
||||
t.bigint "user_id", null: false
|
||||
t.bigint "role_id", null: false
|
||||
@@ -153,6 +146,7 @@ ActiveRecord::Schema[7.0].define(version: 2022_07_22_153417) do
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "avatar_url"
|
||||
t.string "roles", default: [], array: true
|
||||
t.index ["email"], name: "index_users_on_email", unique: true
|
||||
t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user