You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
319 B
13 lines
319 B
1 month 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
|