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.
16 lines
384 B
16 lines
384 B
2 years ago
|
class CreateLaSalesRanges < ActiveRecord::Migration[7.0]
|
||
|
def change
|
||
|
create_table :la_sales_ranges do |t|
|
||
|
t.string :la
|
||
|
t.string :la_name
|
||
|
t.integer :beds
|
||
|
t.integer :soft_min, null: false
|
||
|
t.integer :soft_max, null: false
|
||
|
t.integer :start_year, null: false
|
||
|
|
||
|
t.index %i[start_year beds la], unique: true
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|