Sha256: 619d10803bd9e1cd420d5fb956872a6b88df2573bc86f872d109882923c4adf1

Contents?: true

Size: 285 Bytes

Versions: 72

Compression:

Stored size: 285 Bytes

Contents

class CreateTags < ActiveRecord::Migration
  def change
    create_table :tags do |t|
      t.string :locale
      t.string :name
      t.string :slug

      t.timestamps null: false
    end

    add_index :tags, :locale
    add_index :tags, :name
    add_index :tags, :slug
  end
end

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
udongo-3.0.0 db/migrate/20150413190019_create_tags.rb
udongo-2.0.4 db/migrate/20150413190019_create_tags.rb
udongo-2.0.3 db/migrate/20150413190019_create_tags.rb
udongo-2.0.2 db/migrate/20150413190019_create_tags.rb
udongo-2.0.1 db/migrate/20150413190019_create_tags.rb
udongo-2.0.0 db/migrate/20150413190019_create_tags.rb
udongo-1.0.4 db/migrate/20150413190019_create_tags.rb
udongo-1.0.3 db/migrate/20150413190019_create_tags.rb
udongo-1.0.2 db/migrate/20150413190019_create_tags.rb
udongo-1.0.1 db/migrate/20150413190019_create_tags.rb
udongo-1.0.0 db/migrate/20150413190019_create_tags.rb
udongo-0.1.0 db/migrate/20150413190019_create_tags.rb