mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-06 15:40:31 +08:00
8 lines
237 B
Ruby
8 lines
237 B
Ruby
|
class CreateDatatablesReports < ActiveRecord::Migration[5.1]
|
||
|
def change
|
||
|
create_view :datatables_reports, materialized: true
|
||
|
add_index :datatables_reports, :id, unique: true
|
||
|
add_index :datatables_reports, :team_id
|
||
|
end
|
||
|
end
|