The new CSV report was more configurable and could work on proposals,
processes and comments. However, it had several issues.
In the public area, by default it generated a blank file.
In the admin section, the report was hard to configure and it generated
a file with less quality than the old system.
So until we improve this system, we're bringing back the old investment
CSV exporter.
This commit reverts most of commit 9d1ca3bf.
15 lines
417 B
Ruby
15 lines
417 B
Ruby
class DropDownloadSettings < ActiveRecord::Migration[5.0]
|
|
def change
|
|
drop_table :download_settings do |t|
|
|
t.string :name_model, null: false
|
|
t.string :name_field, null: false
|
|
t.boolean :downloadable, default: false, null: false
|
|
|
|
t.timestamps null: false
|
|
t.integer :config, default: 0, null: false
|
|
|
|
t.index [:name_model, :name_field, :config], unique: true
|
|
end
|
|
end
|
|
end
|