mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
fixing merging
This commit is contained in:
parent
8e2e84465e
commit
86899cebb2
3 changed files with 25188 additions and 6 deletions
|
|
@ -9,6 +9,7 @@
|
|||
# sudo heroku pg:backups:restore 'https://s3.amazonaws.com/irrationaldesign/latest.dump' DATABASE_URL -a mciea-beta
|
||||
# sudo heroku run rake db:migrate -a mciea-beta
|
||||
# sudo heroku run console -a mciea-beta -> SchoolCategory.update_all(year: '2017') -- RENAME SCHOOLS = s = SCHOOLS; s.each { |correct, incorrect| District.find_by_name("Boston").schools.find_by_name(incorrect[0]).update(name: incorrect) }
|
||||
# s.map { |correct, incorrect| District.find_by_name("Boston").schools.find_by_name(incorrect.to_s).merge_into(correct)
|
||||
# sudo heroku run rake data:load_questions_csv -a mciea-beta
|
||||
# sudo heroku run:detached rake data:load_responses -a mciea-beta --size performance-l
|
||||
# sudo heroku run rake data:move_likert_to_submeasures -a mciea-beta
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue