Sha256: bff531091460c51bb37fd00b8ace9f783704a45f0343205ec4a2a31395fbd69a

Contents?: true

Size: 245 Bytes

Versions: 23

Compression:

Stored size: 245 Bytes

Contents

class CreateGutsGroups < ActiveRecord::Migration
  def change
    create_table :guts_groups do |t|
      t.string :title
      t.string :slug

      t.timestamps null: false
    end
    
    add_index :guts_groups, :slug, unique: true
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

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