class CreateFamilyNotificationConfigs < ActiveRecord::Migration[6.0]
  def change
    create_table :family_notification_configs do |t|
      t.references :user, null: false, type: :integer,
        foreign_key: { to_table: :Users, primary_key: :UserID }

      t.integer :accounting_invoice, null: false, default: 0

      t.timestamps
    end
  end
end
