Browse Source

fixed after rebasing

juris_katrina_test
JG 3 years ago
parent
commit
1fe4d0d10c
  1. 2
      app/models/location.rb
  2. 2
      db/schema.rb
  3. 2
      db/seeds.rb

2
app/models/location.rb

@ -1,6 +1,6 @@
class Location < ApplicationRecord
validate :validate_postcode
validates :total_units, :type_of_unit, :wheelchair_adaptation, presence: true
validates :type_of_unit, :wheelchair_adaptation, presence: true
belongs_to :scheme
attr_accessor :add_another_location

2
db/schema.rb

@ -257,7 +257,7 @@ ActiveRecord::Schema[7.0].define(version: 2022_07_13_095713) do
create_table "logs_exports", force: :cascade do |t|
t.datetime "created_at", default: -> { "CURRENT_TIMESTAMP" }
t.datetime "started_at", precision: nil, null: false
t.datetime "started_at", null: false
t.integer "base_number", default: 1, null: false
t.integer "increment_number", default: 1, null: false
t.boolean "empty_export", default: false, null: false

2
db/seeds.rb

@ -73,7 +73,7 @@ unless Rails.env.test?
scheme1 = Scheme.create!(
service_name: "Beulahside Care",
sensitive: 0,
registered_under_care_act: 0,
registered_under_care_act: 1,
support_type: 1,
scheme_type: 4,
intended_stay: "M",

Loading…
Cancel
Save