diff --git a/db/migrate/20241219195819_add_completed_date_to_lotteries_entrant_service_details.rb b/db/migrate/20241219195819_add_completed_date_to_lotteries_entrant_service_details.rb new file mode 100644 index 000000000..2c8ba43f0 --- /dev/null +++ b/db/migrate/20241219195819_add_completed_date_to_lotteries_entrant_service_details.rb @@ -0,0 +1,5 @@ +class AddCompletedDateToLotteriesEntrantServiceDetails < ActiveRecord::Migration[7.0] + def change + add_column :lotteries_entrant_service_details, :completed_date, :date + end +end diff --git a/db/schema.rb b/db/schema.rb index b661a04c7..514175762 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.0].define(version: 2024_12_19_031810) do +ActiveRecord::Schema[7.0].define(version: 2024_12_19_195819) do # These are extensions that must be enabled in order to support this database enable_extension "fuzzystrmatch" enable_extension "pg_trgm" @@ -366,6 +366,7 @@ t.string "form_rejected_comments" t.datetime "created_at", null: false t.datetime "updated_at", null: false + t.date "completed_date" end create_table "lottery_divisions", force: :cascade do |t| diff --git a/erd.pdf b/erd.pdf index dd9902e74..0d1456085 100644 Binary files a/erd.pdf and b/erd.pdf differ