Format Python code and mark release script executable
This commit is contained in:
@@ -8,17 +8,17 @@ from database import Base
|
||||
class Todo(Base):
|
||||
__tablename__ = "todos"
|
||||
id: Mapped[int] = mapped_column(
|
||||
BIGINT(unsigned=True),
|
||||
primary_key = True,
|
||||
autoincrement = True,
|
||||
)
|
||||
BIGINT(unsigned=True),
|
||||
primary_key=True,
|
||||
autoincrement=True,
|
||||
)
|
||||
task: Mapped[str] = mapped_column(
|
||||
String(200),
|
||||
nullable = False,
|
||||
)
|
||||
String(200),
|
||||
nullable=False,
|
||||
)
|
||||
completion: Mapped[bool] = mapped_column(
|
||||
Boolean,
|
||||
nullable = False,
|
||||
default = False,
|
||||
server_default = false(),
|
||||
)
|
||||
Boolean,
|
||||
nullable=False,
|
||||
default=False,
|
||||
server_default=false(),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user