diff options
Diffstat (limited to 'db/schema.rb')
| -rw-r--r-- | db/schema.rb | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/db/schema.rb b/db/schema.rb index 8ba434e..69731f6 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.1].define(version: 2024_04_09_004746) do +ActiveRecord::Schema[7.1].define(version: 2024_05_03_001922) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -42,13 +42,6 @@ ActiveRecord::Schema[7.1].define(version: 2024_04_09_004746) do t.index ["blob_id", "variation_digest"], name: "index_active_storage_variant_records_uniqueness", unique: true end - create_table "attachments", force: :cascade do |t| - t.string "filename", null: false - t.binary "data", null: false - t.datetime "created_at", null: false - t.datetime "updated_at", null: false - end - create_table "blogs", force: :cascade do |t| t.string "name", null: false t.string "category", null: false @@ -60,13 +53,14 @@ ActiveRecord::Schema[7.1].define(version: 2024_04_09_004746) do t.datetime "updated_at", null: false end - create_table "recipes", force: :cascade do |t| - t.string "name", null: false - t.text "ingredients", null: false - t.text "instruction", null: false - t.string "image", default: "https://raw.githubusercontent.com/do-community/react_rails_recipe/master/app/assets/images/Sammy_Meal.jpg" + create_table "users", force: :cascade do |t| + t.string "identifier" + t.string "access_token_digest" + t.string "salt" + t.json "user_data" t.datetime "created_at", null: false t.datetime "updated_at", null: false + t.index ["identifier"], name: "index_users_on_identifier", unique: true end add_foreign_key "active_storage_attachments", "active_storage_blobs", column: "blob_id" |
