Skip to content

Commit 958773d

Browse files
committed
ensure CI can run examples after UT
1 parent a588a46 commit 958773d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/homePage/example.d

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ void main(string[] args)
1111
Connection conn = new Connection(connectionStr);
1212
scope(exit) conn.close();
1313

14+
conn.exec("DROP TABLE IF EXISTS `tablename`"); // So this code can run after "unittest-vibe-ut" during CI
15+
1416
// Create the schema (Would rather have `id` INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT but for now just get tests working)
1517
conn.exec("CREATE TABLE IF NOT EXISTS `tablename` (
1618
`id` INTEGER,

0 commit comments

Comments
 (0)