Sha256: a07fc164c037b8450ba34d8b13c9e5a700776025f5244ab378a7ac999b94bd4e

Contents?: true

Size: 242 Bytes

Versions: 6

Compression:

Stored size: 242 Bytes

Contents

class CreateCedictTable < ActiveRecord::Migration
  def change
    create_table :cedicts do |t|
      t.string :simplified
      t.string :traditional
      t.string :pinyin
      t.string :english
      
      t.timestamps
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
analects-0.4.2 lib/generators/analects/cedict/templates/create_cedict_table.rb
analects-0.4.1 lib/generators/analects/cedict/templates/create_cedict_table.rb
analects-0.4.0 lib/generators/analects/cedict/templates/create_cedict_table.rb
analects-0.3.1 lib/generators/analects/cedict/templates/create_cedict_table.rb
analects-0.2.1 lib/generators/analects/cedict/templates/create_cedict_table.rb
analects-0.2.0 lib/generators/analects/cedict/templates/create_cedict_table.rb