13 lines
319 B
13 lines
319 B
2 months ago
|
class AddCsvDownloadTable < ActiveRecord::Migration[7.0]
|
||
|
def change
|
||
|
create_table :csv_downloads do |t|
|
||
|
t.column :download_type, :string
|
||
|
t.column :filename, :string
|
||
|
t.column :expiration_time, :integer
|
||
|
t.timestamps
|
||
|
t.references :user
|
||
|
t.references :organisation
|
||
|
end
|
||
|
end
|
||
|
end
|