diff --git a/test/ddbctest/mysqltest.d b/test/ddbctest/mysqltest.d index be7a423..ae7a011 100644 --- a/test/ddbctest/mysqltest.d +++ b/test/ddbctest/mysqltest.d @@ -64,8 +64,8 @@ version(USE_MYSQL) { this() { super( "ddbc:mysql://localhost:%s/testdb?user=testuser,password=passw0rd".format(environment.get("MYSQL_PORT", "3306")), - "CREATE TABLE records (id SERIAL PRIMARY KEY, name VARCHAR(255) NOT NULL)", - "DROP TABLE IF EXISTS records" + "CREATE TABLE my_first_test (id SERIAL PRIMARY KEY, name VARCHAR(255) NOT NULL);CREATE TABLE records (id SERIAL PRIMARY KEY, name VARCHAR(255) NOT NULL)", + "DROP TABLE IF EXISTS my_first_test;DROP TABLE IF EXISTS records" ); } diff --git a/test/ddbctest/odbctest.d b/test/ddbctest/odbctest.d index 7fe8a31..9930f16 100644 --- a/test/ddbctest/odbctest.d +++ b/test/ddbctest/odbctest.d @@ -65,8 +65,8 @@ version(USE_ODBC) { this() { super( "odbc://localhost,%s?user=SA,password=MSbbk4k77JKH88g54,trusted_connection=yes,driver=ODBC Driver 18 for SQL Server".format(environment.get("MSSQL_PORT", "1433")), // don't specify database! - "CREATE TABLE records (id INT IDENTITY(1, 1) PRIMARY KEY, name VARCHAR(255) NOT NULL)", - "DROP TABLE IF EXISTS records" + "DROP TABLE IF EXISTS [my_first_test];CREATE TABLE [my_first_test] ([id] INT NOT NULL IDENTITY(1,1) PRIMARY KEY, [name] VARCHAR(255) NOT NULL);CREATE TABLE records (id INT IDENTITY(1, 1) PRIMARY KEY, name VARCHAR(255) NOT NULL)", + "DROP TABLE IF EXISTS [my_first_test];DROP TABLE IF EXISTS records" ); } diff --git a/test/ddbctest/postgresqltest.d b/test/ddbctest/postgresqltest.d index 9cfbb97..1371369 100644 --- a/test/ddbctest/postgresqltest.d +++ b/test/ddbctest/postgresqltest.d @@ -63,8 +63,8 @@ version(USE_PGSQL) { this() { super( "ddbc:postgresql://localhost:%s/testdb?user=testuser,password=passw0rd,ssl=false".format(environment.get("POSTGRES_PORT", "5432")), - "CREATE TABLE records (id SERIAL PRIMARY KEY, name VARCHAR(255) NOT NULL)", - "DROP TABLE IF EXISTS records" + "CREATE TABLE my_first_test (id SERIAL PRIMARY KEY, name VARCHAR(255) NOT NULL);CREATE TABLE records (id SERIAL PRIMARY KEY, name VARCHAR(255) NOT NULL)", + "DROP TABLE IF EXISTS my_first_test;DROP TABLE IF EXISTS records" ); }