Skip to content

Commit ce9cd82

Browse files
chore: lint
1 parent 34845a0 commit ce9cd82

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

migrations.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ async def m001_shop(db: Database):
55
"""
66
Initial shop table.
77
"""
8-
await db.execute(
9-
f"""
8+
await db.execute(f"""
109
CREATE TABLE webshop.shop (
1110
id TEXT PRIMARY KEY,
1211
user_id TEXT NOT NULL,
@@ -25,16 +24,14 @@ async def m001_shop(db: Database):
2524
created_at TIMESTAMP NOT NULL DEFAULT {db.timestamp_now},
2625
updated_at TIMESTAMP NOT NULL DEFAULT {db.timestamp_now}
2726
);
28-
"""
29-
)
27+
""")
3028

3129

3230
async def m002_drop_client_data(db: Database):
3331
"""
3432
Initial client_data table.
3533
"""
36-
await db.execute(
37-
f"""
34+
await db.execute(f"""
3835
CREATE TABLE webshop.client_data (
3936
id TEXT PRIMARY KEY,
4037
shop_id TEXT NOT NULL,
@@ -49,5 +46,4 @@ async def m002_drop_client_data(db: Database):
4946
created_at TIMESTAMP NOT NULL DEFAULT {db.timestamp_now},
5047
updated_at TIMESTAMP NOT NULL DEFAULT {db.timestamp_now}
5148
);
52-
"""
53-
)
49+
""")

0 commit comments

Comments
 (0)