File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ async def m003_tipjar_id_string_rename_tables(db: Database):
58
58
FROM tipjar.TipJars;
59
59
"""
60
60
)
61
- await db . execute ( "DROP TABLE tipjar.TipJars;" )
61
+
62
62
await db .execute (
63
63
f"""
64
64
CREATE TABLE IF NOT EXISTS tipjar.tip (
@@ -67,8 +67,7 @@ async def m003_tipjar_id_string_rename_tables(db: Database):
67
67
wallet TEXT NOT NULL,
68
68
name TEXT NOT NULL,
69
69
message TEXT NOT NULL,
70
- sats { db .big_int } NOT NULL,
71
- FOREIGN KEY(tipjar) REFERENCES { db .references_schema } tipjar(id)
70
+ sats { db .big_int } NOT NULL
72
71
);
73
72
"""
74
73
)
@@ -80,3 +79,4 @@ async def m003_tipjar_id_string_rename_tables(db: Database):
80
79
"""
81
80
)
82
81
await db .execute ("DROP TABLE tipjar.Tips;" )
82
+ await db .execute ("DROP TABLE tipjar.TipJars;" )
You can’t perform that action at this time.
0 commit comments