Sha256: 86a845426dedb20908027c6f74aa488c805ae58bf249a67b6590335025d72692

Contents?: true

Size: 191 Bytes

Versions: 3

Compression:

Stored size: 191 Bytes

Contents

# frozen_string_literal: true

class CreateCategoriesTable < ActiveRecord::Migration[5.0]
  def change
    create_table :categories do |t|
      t.string :name, null: false
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rating-0.4.0 spec/support/db/migrate/create_categories_table.rb
rating-0.3.0 spec/support/db/migrate/create_categories_table.rb
rating-0.2.0 spec/support/db/migrate/create_category_spec.rb