db/schema.rb in osso-0.0.6 vs db/schema.rb in osso-0.0.7
- old
+ new
@@ -8,11 +8,11 @@
# migrations from scratch. Old migrations may fail to apply correctly if those
# migrations use external dependencies or application code.
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 2020_11_12_160120) do
+ActiveRecord::Schema.define(version: 2020_11_25_143501) do
# These are extensions that must be enabled in order to support this database
enable_extension "citext"
enable_extension "pgcrypto"
enable_extension "plpgsql"
@@ -55,10 +55,10 @@
create_table "accounts", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
t.citext "email", null: false
t.integer "status_id", default: 1, null: false
t.string "role", default: "admin", null: false
- t.uuid "oauth_client_id"
+ t.string "oauth_client_id"
t.index ["email"], name: "index_accounts_on_email", unique: true, where: "(status_id = ANY (ARRAY[1, 2]))"
t.index ["oauth_client_id"], name: "index_accounts_on_oauth_client_id"
end
create_table "app_configs", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|