mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-07 21:38:14 -08:00
dirty commit: can't get references to work correctly between any tables
This commit is contained in:
parent
e1f0b78236
commit
a4fddbeced
183 changed files with 5461 additions and 5 deletions
|
|
@ -0,0 +1,16 @@
|
|||
class CreateDashboardAdminDataItems < ActiveRecord::Migration[7.1]
|
||||
def change
|
||||
create_table :dashboard_admin_data_items do |t|
|
||||
t.string :admin_data_item_id
|
||||
t.string :description
|
||||
t.float :watch_low_benchmark
|
||||
t.float :growth_low_benchmark
|
||||
t.float :approval_low_benchmark
|
||||
t.float :ideal_low_benchmark
|
||||
t.boolean :hs_only_item
|
||||
t.references :dashboard_scale, null: false, foreign_key: true
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue