class CreateAccounts < ActiveRecord::Migration[5.2]
  def change
    create_table :accounts do |t|
      t.string :name
      t.string :slug
      t.string :plan_uid

      t.timestamps
    end
    add_index :accounts, :slug, unique: true
  end
end
