dbbase.DB.create_all

DB.create_all(bind=None, checkfirst=True)[source]

This function creates all available tables.

Default:

create_all(bind=None, checkfirst=True)

Parameters
  • bind – (obj) : sqlalchemy.engine.base.Engine

  • checkfirst – (bool) : If True, will not recreate a table that already exists.