Sha256: fb18f90d25dbbfc429dc1e303e0dcad6fdd4e46754fab9e4f128cd39720deff4

Contents?: true

Size: 274 Bytes

Versions: 3

Compression:

Stored size: 274 Bytes

Contents

class CreateWeelerTranslationStats < ActiveRecord::Migration[4.2]
  def change
    create_table :weeler_translation_stats do |t|
      t.string :key
      t.integer :usage_count, default: 0

      t.timestamps
    end
    add_index :weeler_translation_stats, :key
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
weeler-2.1.0 spec/dummy/db/migrate/20160330192005_create_weeler_translation_stats.rb
weeler-2.0.1 spec/dummy/db/migrate/20160330192005_create_weeler_translation_stats.rb
weeler-2.0.0 spec/dummy/db/migrate/20160330192005_create_weeler_translation_stats.rb