11 lines
202 B
Ruby
11 lines
202 B
Ruby
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
|