database.migrations.aad_create_user_roles_table
Description
Classes
- class database.migrations.aad_create_user_roles_table.CreateUserRolesTable
- static _add_foreign_key_constraint_users_table() None
- static _drop_foreign_key_constraint_users_table() list
- _exists_table() bool
- down()
- up()
- class database.migrations.aad_create_user_roles_table._OldUser(*args, **kwargs)
- DoesNotExist
alias of
database.migrations.aad_create_user_roles_table._OldUserDoesNotExist
- _coerce = True
- _meta = <peewee.Metadata object>
- classmethod _normalize_data(data, kwargs)
- property _pk
- _pk_expr()
- _populate_unsaved_relations(field_dict)
- _prune_fields(field_dict, only)
- _schema = <peewee.SchemaManager object>
- active = <BooleanField: _OldUser.active>
- classmethod add_index(*fields, **kwargs)
- classmethod alias(alias=None)
- classmethod bind(database, bind_refs=True, bind_backrefs=True, _exclude=None)
- classmethod bind_ctx(database, bind_refs=True, bind_backrefs=True)
- birth_date = <DateField: _OldUser.birth_date>
- classmethod bulk_create(model_list, batch_size=None)
- classmethod bulk_update(model_list, fields, batch_size=None)
- children
- clone()
- coerce(_coerce=True)
- static copy(method)
- classmethod create(**query)
- classmethod create_table(safe=True, **options)
- created_at = <TimestampField: _OldUser.created_at>
- created_by = <ForeignKeyField: _OldUser.created_by>
- created_by_id = <ForeignKeyField: _OldUser.created_by>
- classmethod delete()
- classmethod delete_by_id(pk)
- delete_instance(recursive=False, delete_nullable=False)
- deleted_at = <TimestampField: _OldUser.deleted_at>
- dependencies(search_nullable=False)
- property dirty_fields
- classmethod drop_table(safe=True, drop_sequences=True, **options)
- email = <CharField: _OldUser.email>
- classmethod filter(*dq_nodes, **filters)
- genre = <FixedCharField: _OldUser.genre>
- classmethod get(*query, **filters)
- classmethod get_by_id(pk)
- classmethod get_fields(exclude: Optional[list] = None, include: Optional[list] = None, sort_order: Optional[list] = None) set
- get_id()
- classmethod get_or_create(**kwargs)
- classmethod get_or_none(*query, **filters)
- id = <AutoField: _OldUser.id>
- classmethod index(*fields, **kwargs)
- classmethod insert(_Model__data=None, **insert)
- classmethod insert_from(query, fields)
- classmethod insert_many(rows, fields=None)
- property is_active
- is_alias()
- property is_anonymous
- property is_authenticated
- is_dirty()
- last_name = <CharField: _OldUser.last_name>
- name = <CharField: _OldUser.name>
- classmethod noop()
- password = <CharField: _OldUser.password>
- static raw(query: str)
- reload()
- classmethod replace(_Model__data=None, **insert)
- classmethod replace_many(rows, fields=None)
- role = <ForeignKeyField: _OldUser.role>
- role_id = <ForeignKeyField: _OldUser.role>
- abstract save(*args: list, **kwargs: dict) int
- classmethod select(*fields)
- classmethod set_by_id(key, value)
- classmethod table_exists()
- classmethod truncate_table(**options)
- unwrap()
- classmethod update(_Model__data=None, **update)
- updated_at = <TimestampField: _OldUser.updated_at>
- classmethod validate_model()