Sha256: f7150bd1cbc86f7d070923de84d8e8404916b050ba38e76724ed76ceab5beb56

Contents?: true

Size: 258 Bytes

Versions: 6

Compression:

Stored size: 258 Bytes

Contents

class CreateLocationLabels < ActiveRecord::Migration[6.1]
  def change
    create_table :location_labels do |t|
      t.references :location, null: false, foreign_key: true
      t.string :title, null: false

      t.timestamps null: false
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
infinum_json_api_setup-0.0.8 spec/dummy/db/migrate/20210714104736_create_location_labels.rb
infinum_json_api_setup-0.0.7 spec/dummy/db/migrate/20210714104736_create_location_labels.rb
infinum_json_api_setup-0.0.6 spec/dummy/db/migrate/20210714104736_create_location_labels.rb
infinum_json_api_setup-0.0.5 spec/dummy/db/migrate/20210714104736_create_location_labels.rb
infinum_json_api_setup-0.0.4 spec/dummy/db/migrate/20210714104736_create_location_labels.rb
infinum_json_api_setup-0.0.3 spec/dummy/db/migrate/20210714104736_create_location_labels.rb