mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
fix potentital issue with sso + enterprise profile
This commit is contained in:
parent
d8b6848b1b
commit
a7fdc4d741
@ -30,7 +30,7 @@ json.profile do
|
||||
json.address do
|
||||
json.id @member.profile.organization.address.id
|
||||
json.address @member.profile.organization.address.address
|
||||
end
|
||||
end if @member.profile.organization.address
|
||||
end if @member.profile.organization
|
||||
|
||||
end
|
||||
|
@ -289,7 +289,7 @@ ActiveRecord::Schema.define(version: 20161123104604) do
|
||||
t.boolean "is_read", default: false
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.string "receiver_type"
|
||||
t.string "receiver_type", limit: 255
|
||||
t.boolean "is_send", default: false
|
||||
t.jsonb "meta_data", default: {}
|
||||
end
|
||||
@ -320,7 +320,6 @@ ActiveRecord::Schema.define(version: 20161123104604) do
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "profile_url"
|
||||
t.string "logout_endpoint"
|
||||
end
|
||||
|
||||
create_table "offer_days", force: :cascade do |t|
|
||||
@ -467,7 +466,7 @@ ActiveRecord::Schema.define(version: 20161123104604) do
|
||||
t.datetime "published_at"
|
||||
end
|
||||
|
||||
add_index "projects", ["slug"], name: "index_projects_on_slug", using: :btree
|
||||
add_index "projects", ["slug"], name: "index_projects_on_slug", unique: true, using: :btree
|
||||
|
||||
create_table "projects_components", force: :cascade do |t|
|
||||
t.integer "project_id"
|
||||
@ -536,8 +535,8 @@ ActiveRecord::Schema.define(version: 20161123104604) do
|
||||
t.datetime "updated_at"
|
||||
t.integer "availability_id"
|
||||
t.datetime "ex_start_at"
|
||||
t.datetime "ex_end_at"
|
||||
t.datetime "canceled_at"
|
||||
t.datetime "ex_end_at"
|
||||
t.boolean "offered", default: false
|
||||
end
|
||||
|
||||
@ -719,6 +718,7 @@ ActiveRecord::Schema.define(version: 20161123104604) do
|
||||
add_index "user_trainings", ["user_id"], name: "index_user_trainings_on_user_id", using: :btree
|
||||
|
||||
create_table "users", force: :cascade do |t|
|
||||
t.string "username", limit: 255
|
||||
t.string "email", limit: 255, default: "", null: false
|
||||
t.string "encrypted_password", limit: 255, default: "", null: false
|
||||
t.string "reset_password_token", limit: 255
|
||||
@ -741,7 +741,6 @@ ActiveRecord::Schema.define(version: 20161123104604) do
|
||||
t.boolean "is_allow_contact", default: true
|
||||
t.integer "group_id"
|
||||
t.string "stp_customer_id", limit: 255
|
||||
t.string "username", limit: 255
|
||||
t.string "slug", limit: 255
|
||||
t.boolean "is_active", default: true
|
||||
t.boolean "invoicing_disabled", default: false
|
||||
|
Loading…
Reference in New Issue
Block a user