mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: tweak reaction store
This commit is contained in:
@@ -45,7 +45,8 @@ func resetTestingDB(ctx context.Context, profile *profile.Profile, dbDriver stor
|
||||
DROP TABLE IF EXISTS storage;
|
||||
DROP TABLE IF EXISTS idp;
|
||||
DROP TABLE IF EXISTS inbox;
|
||||
DROP TABLE IF EXISTS webhook;`)
|
||||
DROP TABLE IF EXISTS webhook;
|
||||
DROP TABLE IF EXISTS reaction;`)
|
||||
if err != nil {
|
||||
fmt.Printf("failed to reset testing db, error: %+v\n", err)
|
||||
panic(err)
|
||||
@@ -65,7 +66,8 @@ func resetTestingDB(ctx context.Context, profile *profile.Profile, dbDriver stor
|
||||
DROP TABLE IF EXISTS storage CASCADE;
|
||||
DROP TABLE IF EXISTS idp CASCADE;
|
||||
DROP TABLE IF EXISTS inbox CASCADE;
|
||||
DROP TABLE IF EXISTS webhook CASCADE;`)
|
||||
DROP TABLE IF EXISTS webhook CASCADE;
|
||||
DROP TABLE IF EXISTS reaction CASCADE;`)
|
||||
if err != nil {
|
||||
fmt.Printf("failed to reset testing db, error: %+v\n", err)
|
||||
panic(err)
|
||||
|
Reference in New Issue
Block a user