Sha256: 09778e3c7feda79fe004ce13e6386dce70e6f98a7e2d7fd5b3ed4b5d80137ce3

Contents?: true

Size: 215 Bytes

Versions: 4

Compression:

Stored size: 215 Bytes

Contents

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

      t.timestamps null: false
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slugs-4.0.0.3 test/dummy/db/migrate/20161016174225_create_categories.rb
slugs-4.0.0.2 test/dummy/db/migrate/20161016174225_create_categories.rb
slugs-4.0.0.1 test/dummy/db/migrate/20161016174225_create_categories.rb
slugs-4.0.0.0 test/dummy/db/migrate/20161016174225_create_categories.rb