class CreateDatabases < ActiveRecord::Migration
  def change
    create_table :databases do |t|
      t.text :name
      t.text :db_type

      t.timestamps null: false
    end
    add_index :databases, :name
    add_index :databases, :db_type
  end
end
