오탈자 수정
parent
edae77c782
commit
52a0ea0a1f
|
|
@ -17,9 +17,9 @@ async def startup():
|
||||||
|
|
||||||
if 'blog_table'not in table_list:
|
if 'blog_table'not in table_list:
|
||||||
await sql.create_blog_table()
|
await sql.create_blog_table()
|
||||||
print("user_table created")
|
print("blog_table created")
|
||||||
else:
|
else:
|
||||||
print("user_table already exist")
|
print("blog_table already exist")
|
||||||
|
|
||||||
@asynccontextmanager
|
@asynccontextmanager
|
||||||
async def lifespan(app : FastAPI):
|
async def lifespan(app : FastAPI):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue