fix MovedIn20Warning
shouldn't actually cause any issues currently since SQLAlchemy is (to my annoyance) import *ed everywhere but.
This commit is contained in:
parent
e61e35226d
commit
9b94e524bb
28 changed files with 32 additions and 29 deletions
|
@ -53,7 +53,7 @@ As an example, let's say we want to add a column `is_flagged` to the `comments`
|
|||
|
||||
1. Update the `Comment` model in `files/classes/comment.py`
|
||||
```python
|
||||
from files.__main__ import Base
|
||||
from files.classes.base import Base
|
||||
class Comment(Base):
|
||||
__tablename__ = "comments"
|
||||
id = Column(Integer, primary_key=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue