mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-15 01:35:54 -07:00
swap around schools and district to not be namespaced
This commit is contained in:
parent
865b7b17af
commit
7f69cda710
15 changed files with 67 additions and 57 deletions
|
|
@ -1,8 +1,8 @@
|
|||
class CreateDashboardSchools < ActiveRecord::Migration[7.1]
|
||||
def change
|
||||
create_table :dashboard_schools do |t|
|
||||
create_table :schools do |t|
|
||||
t.string :name
|
||||
t.references :dashboard_district, null: false, foreign_key: true
|
||||
t.references :district, null: false, foreign_key: true
|
||||
t.text :description
|
||||
t.string :slug
|
||||
t.integer :qualtrics_code
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue