Initial commit
This commit is contained in:
commit
0cec39413f
116 changed files with 9683 additions and 0 deletions
10
db/migrate/20210319142059_create_authors_books.rb
Normal file
10
db/migrate/20210319142059_create_authors_books.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
class CreateAuthorsBooks < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
create_table :authors_books do |t|
|
||||
t.belongs_to :book
|
||||
t.belongs_to :author
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue