Tapes are now Clips, also they have categories
This commit is contained in:
parent
86c489be72
commit
c8732b6332
41 changed files with 347 additions and 148 deletions
11
db/migrate/20250908185632_create_clips.rb
Normal file
11
db/migrate/20250908185632_create_clips.rb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
class CreateClips < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
create_table :clips do |t|
|
||||
t.string :title
|
||||
|
||||
t.belongs_to :category, foreign_key: true
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue