Class: CreateCedictTable
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateCedictTable
- Defined in:
- lib/generators/analects/cedict/templates/create_cedict_table.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 10 11 |
# File 'lib/generators/analects/cedict/templates/create_cedict_table.rb', line 2 def change create_table :cedicts do |t| t.string :simplified t.string :traditional t.string :pinyin t.string :english t. end end |