class CreateCharacters < ActiveRecord::Migration[5.0]
  def change
    create_table :characters do |t|
      t.string :name, index: true
      t.string :gender, index: true
      t.integer :age
      t.string :character_type, index: true
      t.references :script, index: true

      t.timestamps
    end
  end
end
