Submit social housing lettings and sales data (CORE)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
536 B

class CreateLaRentRanges < ActiveRecord::Migration[7.0]
def change
create_table :la_rent_ranges do |t|
t.integer :ranges_rent_id
t.integer :lettype
t.string :la
t.integer :beds
t.decimal :soft_min, precision: 10, scale: 2
t.decimal :soft_max, precision: 10, scale: 2
t.decimal :hard_min, precision: 10, scale: 2
t.decimal :hard_max, precision: 10, scale: 2
t.integer :start_year
t.index %i[start_year lettype beds la], unique: true
t.timestamps
end
end
end