code: def create_tables(database):
      '''Create all tables in the given database'''
      logging.getLogger(__name__).debug("Creating missing database tables")
      database.connect()
      database.create_tables([User,
                              Group,
                              UserToGroup,
                              GroupToCapability,
                              Capability], safe=Truef create_tables(database):
      '''Create all tables in the given database'''
      logging.getLogger(__name__).debug("Creating missing database tables")
      database.connect()
      database.create_tables([User,
                              Group,
                              UserToGroup,
                              GroupToCapability,
                              Capability], safe=True)
docs: Create all tables in the given database