Add last_month export
This commit is contained in:
parent
f5f4aa9bf2
commit
f238710044
14 changed files with 125 additions and 50 deletions
|
@ -0,0 +1,7 @@
|
|||
class AddTimeSpanTypeToExports < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :exports, :time_span_type, :string, default: 'everything', null: false
|
||||
remove_index :exports, [:format, :key]
|
||||
add_index :exports, [:format, :time_span_type, :key], unique: true
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue