sqliite
Browse files
App/Generate/database/Model.py
CHANGED
@@ -10,7 +10,7 @@ from typing import List
|
|
10 |
from pydantic import BaseModel
|
11 |
import json
|
12 |
|
13 |
-
database_url = "sqlite:///ok.db"
|
14 |
database = databases.Database(database_url)
|
15 |
models = orm.ModelRegistry(database=database)
|
16 |
|
|
|
10 |
from pydantic import BaseModel
|
11 |
import json
|
12 |
|
13 |
+
database_url = "sqlite+aiosqlite:///ok.db"
|
14 |
database = databases.Database(database_url)
|
15 |
models = orm.ModelRegistry(database=database)
|
16 |
|