shopping cart
This commit is contained in:
parent
733870ce96
commit
df7585c5e1
11 changed files with 79 additions and 11 deletions
11
db/schema.rb
generated
11
db/schema.rb
generated
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2021_03_21_235625) do
|
||||
ActiveRecord::Schema.define(version: 2021_03_22_002803) do
|
||||
|
||||
create_table "audit_records", force: :cascade do |t|
|
||||
t.string "model"
|
||||
|
@ -47,6 +47,15 @@ ActiveRecord::Schema.define(version: 2021_03_21_235625) do
|
|||
t.index ["published"], name: "index_books_on_published"
|
||||
end
|
||||
|
||||
create_table "books_users", force: :cascade do |t|
|
||||
t.integer "book_id"
|
||||
t.integer "user_id"
|
||||
t.datetime "created_at", precision: 6, null: false
|
||||
t.datetime "updated_at", precision: 6, null: false
|
||||
t.index ["book_id"], name: "index_books_users_on_book_id"
|
||||
t.index ["user_id"], name: "index_books_users_on_user_id"
|
||||
end
|
||||
|
||||
create_table "users", force: :cascade do |t|
|
||||
t.string "email"
|
||||
t.string "password_digest"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue