Sha256: 6b7af997aad3de941c276108d03e966a43f2c171bab92df65bcc76c7928d2035

Contents?: true

Size: 183 Bytes

Versions: 2

Compression:

Stored size: 183 Bytes

Contents

class CreateCategories < ActiveRecord::Migration
  def change
    create_table :categories do |t|
      t.string :name
      t.integer :shop_id
      t.string :slug
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
slugs-2.0.1 test/dummy/db/migrate/20161016174225_create_categories.rb
slugs-2.0.0 test/dummy/db/migrate/20161016174225_create_categories.rb