summaryrefslogtreecommitdiff
path: root/db/migrate/20210518214713_create_hearth_amenities.rb
blob: cf953520edc1a88c3d637284a0d56c3362baff25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class CreateHearthAmenities < ActiveRecord::Migration[6.1]
  def change
    create_table :hearth_amenities do |t|
      t.string :gid
      t.string :name
      t.text :description
      t.jsonb :whatnot

      t.timestamps
    end
    add_index :hearth_amenities, :gid
  end
end