mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: cleanup sqlite.connect statements (do not leave strange test.db or vweb.sql artefacts around, after running common tests)
This commit is contained in:
@@ -3,6 +3,6 @@ module databases
|
||||
import db.sqlite // can change to 'db.mysql', 'db.pg'
|
||||
|
||||
pub fn create_db_connection() !sqlite.DB {
|
||||
mut db := sqlite.connect('vweb.sql')!
|
||||
mut db := sqlite.connect('app.db')!
|
||||
return db
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user