Class: TenantBorutusTables

Inherits:
Object
  • Object
show all
Defined in:
lib/generators/borutus/templates/tenant_migration.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



2
3
4
5
# File 'lib/generators/borutus/templates/tenant_migration.rb', line 2

def change
  # add a tenant column to borutus accounts table.
  add_column :borutus_accounts, :tenant_id, :integer, index: true
end