Rails Tambahkan Indeks dari Konsol
ActiveRecord::Migration.add_column :table_name, :field_name, :field_type
Worrisome Wombat
ActiveRecord::Migration.add_column :table_name, :field_name, :field_type