Skip to content

Commit ce88e59

Browse files
committed
schema
1 parent 219b993 commit ce88e59

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

db/schema.rb

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,17 @@
1010
#
1111
# It's strongly recommended that you check this file into your version control system.
1212

13-
ActiveRecord::Schema[7.0].define(version: 2025_07_19_170109) do
13+
ActiveRecord::Schema[7.0].define(version: 2025_08_26_162148) do
1414
# These are extensions that must be enabled in order to support this database
1515
enable_extension "plpgsql"
1616

17+
create_table "accessories", force: :cascade do |t|
18+
t.string "name"
19+
t.integer "amount"
20+
t.datetime "created_at", null: false
21+
t.datetime "updated_at", null: false
22+
end
23+
1724
create_table "active_storage_attachments", force: :cascade do |t|
1825
t.string "name", null: false
1926
t.string "record_type", null: false
@@ -608,6 +615,15 @@
608615
t.index ["user_id"], name: "index_trophy_awards_on_user_id"
609616
end
610617

618+
create_table "user_accessories", force: :cascade do |t|
619+
t.bigint "accessory_id"
620+
t.bigint "user_id"
621+
t.datetime "created_at", null: false
622+
t.datetime "updated_at", null: false
623+
t.index ["accessory_id"], name: "index_user_accessories_on_accessory_id"
624+
t.index ["user_id"], name: "index_user_accessories_on_user_id"
625+
end
626+
611627
create_table "user_emojis", force: :cascade do |t|
612628
t.bigint "user_id", null: false
613629
t.string "name", null: false

0 commit comments

Comments
 (0)