spec/dummy/db/schema.rb in openstax_accounts-7.9.0 vs spec/dummy/db/schema.rb in openstax_accounts-7.10.0
- old
+ new
@@ -14,10 +14,11 @@
ActiveRecord::Schema.define(version: 1001) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
enable_extension "pgcrypto"
+ enable_extension "citext"
create_table "openstax_accounts_accounts", force: :cascade do |t|
t.integer "openstax_uid"
t.string "username"
t.string "access_token"
@@ -29,19 +30,21 @@
t.datetime "updated_at", null: false
t.integer "faculty_status", default: 0, null: false
t.string "salesforce_contact_id"
t.uuid "uuid", default: "gen_random_uuid()", null: false
t.integer "role", default: 0, null: false
+ t.citext "support_identifier"
end
add_index "openstax_accounts_accounts", ["access_token"], name: "index_openstax_accounts_accounts_on_access_token", unique: true, using: :btree
add_index "openstax_accounts_accounts", ["faculty_status"], name: "index_openstax_accounts_accounts_on_faculty_status", using: :btree
add_index "openstax_accounts_accounts", ["first_name"], name: "index_openstax_accounts_accounts_on_first_name", using: :btree
add_index "openstax_accounts_accounts", ["full_name"], name: "index_openstax_accounts_accounts_on_full_name", using: :btree
add_index "openstax_accounts_accounts", ["last_name"], name: "index_openstax_accounts_accounts_on_last_name", using: :btree
add_index "openstax_accounts_accounts", ["openstax_uid"], name: "index_openstax_accounts_accounts_on_openstax_uid", unique: true, using: :btree
add_index "openstax_accounts_accounts", ["role"], name: "index_openstax_accounts_accounts_on_role", using: :btree
add_index "openstax_accounts_accounts", ["salesforce_contact_id"], name: "index_openstax_accounts_accounts_on_salesforce_contact_id", using: :btree
+ add_index "openstax_accounts_accounts", ["support_identifier"], name: "index_openstax_accounts_accounts_on_support_identifier", unique: true, using: :btree
add_index "openstax_accounts_accounts", ["username"], name: "index_openstax_accounts_accounts_on_username", unique: true, using: :btree
add_index "openstax_accounts_accounts", ["uuid"], name: "index_openstax_accounts_accounts_on_uuid", unique: true, using: :btree
create_table "openstax_accounts_group_members", force: :cascade do |t|
t.integer "group_id", null: false