changed back to datetime
This commit is contained in:
parent
8921bc080c
commit
dbe997f140
|
@ -0,0 +1,29 @@
|
|||
"""changed back to datetime
|
||||
|
||||
Revision ID: 7acc8c28d84c
|
||||
Revises: 16f759612879
|
||||
Create Date: 2024-10-08 12:27:12.985853
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
import sqlmodel.sql.sqltypes
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '7acc8c28d84c'
|
||||
down_revision = '16f759612879'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
pass
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
pass
|
||||
# ### end Alembic commands ###
|
|
@ -212,7 +212,7 @@ class CoursePublic(CourseBase):
|
|||
images: list["Image"]
|
||||
info_images: list["Info_Image"]
|
||||
schedule: list["Schedule"]
|
||||
created_at: str
|
||||
created_at: datetime
|
||||
|
||||
class CoursesPublic(SQLModel):
|
||||
data: list[CoursePublic]
|
||||
|
|
Loading…
Reference in New Issue