|
10 | 10 | # |
11 | 11 | # It's strongly recommended that you check this file into your version control system. |
12 | 12 |
|
13 | | -ActiveRecord::Schema[8.1].define(version: 2026_01_08_135240) do |
| 13 | +ActiveRecord::Schema[8.1].define(version: 2026_01_09_114702) do |
14 | 14 | # These are extensions that must be enabled in order to support this database |
15 | 15 | enable_extension "pg_catalog.plpgsql" |
16 | 16 | enable_extension "pgcrypto" |
|
1018 | 1018 | t.datetime "last_sign_in_at", precision: nil |
1019 | 1019 | t.string "last_sign_in_ip" |
1020 | 1020 | t.datetime "locked_at", precision: nil |
| 1021 | + t.jsonb "metadata", default: {}, null: false |
1021 | 1022 | t.datetime "onboarding_completed_at" |
1022 | 1023 | t.datetime "onboarding_started_at" |
1023 | 1024 | t.string "onboarding_state", default: "active", null: false |
|
1035 | 1036 | t.string "unlock_token" |
1036 | 1037 | t.datetime "updated_at", precision: nil, null: false |
1037 | 1038 | t.integer "website_id" |
| 1039 | + t.index "((metadata ->> 'zoho_lead_id'::text))", name: "index_pwb_users_on_zoho_lead_id", where: "((metadata ->> 'zoho_lead_id'::text) IS NOT NULL)" |
1038 | 1040 | t.index ["confirmation_token"], name: "index_pwb_users_on_confirmation_token", unique: true |
1039 | 1041 | t.index ["email"], name: "index_pwb_users_on_email", unique: true |
1040 | 1042 | t.index ["firebase_uid"], name: "index_pwb_users_on_firebase_uid", unique: true |
|
0 commit comments