Sha256: 6b8e2037d0af24e3fd091a3baeeb895e50b92761c50ca8f3a6d49653c874e330

Contents?: true

Size: 552 Bytes

Versions: 3

Compression:

Stored size: 552 Bytes

Contents

class Categories < ActiveRecord::Migration[5.2]
    def change
        create_table :categories do |c|
            c.string :name
        end
    end

    # FindDeals::Cities.create(name: nil)
    # FindDeals::Cities.create(name: "dining")
    # FindDeals::Cities.create(name: "wellness-beauty")
    # FindDeals::Cities.create(name: "activities")
    # FindDeals::Cities.create(name: "shopping")
    # FindDeals::Cities.create(name: "services")
    # FindDeals::Cities.create(name: "wine")
    # FindDeals::Cities.create(name: "personalised-gifts")
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
find_deals-0.1.2 db/migrate/02_categories.rb
find_deals-0.1.1 db/migrate/02_categories.rb
find_deals-0.1.0 db/migrate/02_categories.rb