Sha256: bf571eec417035f39434b0e0d1cdcbe8783f7db213c91527ca83a7861f7aa092

Contents?: true

Size: 300 Bytes

Versions: 23

Compression:

Stored size: 300 Bytes

Contents

class CreateGutsCategories < ActiveRecord::Migration
  def change
    create_table :guts_categories do |t|
      t.string :title
      t.string :slug
      t.text :metafields, null: true
      
      t.timestamps null: false
    end
    
    add_index :guts_categories, :slug, unique: true
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
guts-3.0.1 db/migrate/20160309030236_create_guts_categories.rb
guts-3.0.0 db/migrate/20160309030236_create_guts_categories.rb
guts-2.1.0 db/migrate/20160309030236_create_guts_categories.rb
guts-2.0.2 db/migrate/20160309030236_create_guts_categories.rb
guts-2.0.1 db/migrate/20160309030236_create_guts_categories.rb
guts-2.0.0 db/migrate/20160309030236_create_guts_categories.rb
guts-1.4.0 db/migrate/20160309030236_create_guts_categories.rb
guts-1.3.6 db/migrate/20160309030236_create_guts_categories.rb
guts-1.3.5 db/migrate/20160309030236_create_guts_categories.rb
guts-1.3.4 db/migrate/20160309030236_create_guts_categories.rb
guts-1.3.3 db/migrate/20160309030236_create_guts_categories.rb
guts-1.3.2 db/migrate/20160309030236_create_guts_categories.rb
guts-1.3.1 db/migrate/20160309030236_create_guts_categories.rb
guts-1.3.0 db/migrate/20160309030236_create_guts_categories.rb
guts-1.2.2 db/migrate/20160309030236_create_guts_categories.rb
guts-1.2.1 db/migrate/20160309030236_create_guts_categories.rb
guts-1.2.0 db/migrate/20160309030236_create_guts_categories.rb
guts-1.1.1 db/migrate/20160309030236_create_guts_categories.rb
guts-1.1.0 db/migrate/20160309030236_create_guts_categories.rb
guts-1.0.8 db/migrate/5_create_guts_categories.rb