mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
feat: restore hotwire functionality on analyze page
This commit is contained in:
parent
22b9b44773
commit
8dc503f454
45 changed files with 382 additions and 333 deletions
6
db/migrate/20240607195831_add_slug_to_gender.rb
Normal file
6
db/migrate/20240607195831_add_slug_to_gender.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
class AddSlugToGender < ActiveRecord::Migration[7.1]
|
||||
def change
|
||||
add_column :genders, :slug, :string
|
||||
add_index :genders, :slug, unique: true
|
||||
end
|
||||
end
|
||||
6
db/migrate/20240607205816_add_slug_to_academic_year.rb
Normal file
6
db/migrate/20240607205816_add_slug_to_academic_year.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
class AddSlugToAcademicYear < ActiveRecord::Migration[7.1]
|
||||
def change
|
||||
add_column :academic_years, :slug, :string
|
||||
add_index :academic_years, :slug, unique: true
|
||||
end
|
||||
end
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.1].define(version: 2023_12_27_183313) do
|
||||
ActiveRecord::Schema[7.1].define(version: 2024_06_07_205816) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pg_stat_statements"
|
||||
enable_extension "plpgsql"
|
||||
|
|
@ -19,7 +19,9 @@ ActiveRecord::Schema[7.1].define(version: 2023_12_27_183313) do
|
|||
t.string "range", null: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "slug"
|
||||
t.index ["range"], name: "index_academic_years_on_range", unique: true
|
||||
t.index ["slug"], name: "index_academic_years_on_slug", unique: true
|
||||
end
|
||||
|
||||
create_table "admin_data_items", force: :cascade do |t|
|
||||
|
|
@ -83,6 +85,8 @@ ActiveRecord::Schema[7.1].define(version: 2023_12_27_183313) do
|
|||
t.string "designation"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "slug"
|
||||
t.index ["slug"], name: "index_genders_on_slug", unique: true
|
||||
end
|
||||
|
||||
create_table "incomes", force: :cascade do |t|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue