shopping cart
This commit is contained in:
parent
733870ce96
commit
df7585c5e1
11 changed files with 79 additions and 11 deletions
10
db/migrate/20210322002803_create_books_users.rb
Normal file
10
db/migrate/20210322002803_create_books_users.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
class CreateBooksUsers < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
create_table :books_users do |t|
|
||||
t.belongs_to :book
|
||||
t.belongs_to :user
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue