class CreateDsns < ActiveRecord::Migration[8.1]
  def change
    create_table :dsns do |t|
      t.string :key
      t.string :name
      t.boolean :enabled, default: true, null: false

      t.timestamps
    end
    add_index :dsns, :key, unique: true
  end
end
