mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 07:10:12 +01:00
9 lines
205 B
Ruby
9 lines
205 B
Ruby
class CreateAttachments < ActiveRecord::Migration[5.2]
|
|
def change
|
|
create_table :attachments do |t|
|
|
t.references :todo, index: true
|
|
t.attachment :file
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|