mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-02 21:51:51 +08:00
7 lines
237 B
Ruby
7 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
|