db/schema.rb in osso-0.1.1 vs db/schema.rb in osso-0.1.2
- old
+ new
@@ -1,18 +1,18 @@
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
-# This file is the source Rails uses to define your schema when running `rails
-# db:schema:load`. When creating a new database, `rails db:schema:load` tends to
+# This file is the source Rails uses to define your schema when running `bin/rails
+# db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to
# be faster and is potentially less error prone than running all of your
# 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_25_143501) do
+ActiveRecord::Schema.define(version: 2021_02_01_220556) 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.string "oauth_client_id"
+ t.uuid "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|