PCv5/app/models
Lephe 3c5599adf7
model: avoid the foreign key cycle between Thread and Comment
By specifying use_alter=True on one of the keys, the ORM will generate
an ALTER command to set the second foreign key after inserting both
objects, in case two new objects referring to each other have to be
created.

See: https://docs.sqlalchemy.org/en/14/core/exceptions.html#sqlalchemy.exc.CircularDependencyError
2021-07-07 19:38:28 +02:00
..
polls polls: added multi-choices polls 2021-02-22 22:49:11 +01:00
__init__.py programs: add models for programs and topic promotions (#20) 2020-08-01 15:11:19 +02:00
attachment.py attachments: added attachments system 2020-08-01 21:26:06 +02:00
comment.py model: index comments by thread for faster lookup 2021-07-07 16:30:21 +02:00
forum.py review of privileges and forum permissions 2021-02-26 18:32:45 +01:00
notification.py model: minor convention updates 2019-11-21 15:31:46 +01:00
poll.py poll: add ability to vote 2021-02-20 00:33:34 +01:00
post.py fix: better PEP8 2020-08-05 22:52:56 +02:00
priv.py refact: models files are nom uniform (all singular) 2020-08-06 21:19:01 +02:00
program.py fix: better PEP8 2020-08-05 22:52:56 +02:00
thread.py model: avoid the foreign key cycle between Thread and Comment 2021-07-07 19:38:28 +02:00
topic.py (random improvements on texts) 2021-02-26 18:31:10 +01:00
trophy.py refact: models files are nom uniform (all singular) 2020-08-06 21:19:01 +02:00
user.py review of privileges and forum permissions 2021-02-26 18:32:45 +01:00