Skip to content

Commit 0229253

Browse files
committed
ignore sqlite_sequence
1 parent e2a03c5 commit 0229253

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

tests/fixtures/create_mysql.sql

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
-- cat create_mysql.sql | sudo mysql
2+
--
3+
DROP USER 'php-crud-api'@'localhost';
4+
DROP DATABASE `php-crud-api`;
5+
--
16
CREATE DATABASE `php-crud-api` CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
27
CREATE USER 'php-crud-api'@'localhost' IDENTIFIED BY 'php-crud-api';
38
GRANT ALL PRIVILEGES ON `php-crud-api`.* TO 'php-crud-api'@'localhost' WITH GRANT OPTION;

tests/fixtures/create_pgsql.sql

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
-- cat create_pgsql.sql | sudo -u postgres psql
2+
--
3+
DROP DATABASE "php-crud-api";
4+
DROP USER "php-crud-api";
5+
--
16
CREATE USER "php-crud-api" WITH PASSWORD 'php-crud-api';
27
CREATE DATABASE "php-crud-api";
38
GRANT ALL PRIVILEGES ON DATABASE "php-crud-api" to "php-crud-api";

tests/fixtures/create_sqlsrv.sql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
-- command to execute script
2+
--
3+
-- delete user
4+
-- delete login
5+
-- delete database
6+
--
17
CREATE DATABASE [php-crud-api]
28
GO
39
CREATE LOGIN [php-crud-api] WITH PASSWORD=N'php-crud-api', DEFAULT_DATABASE=[php-crud-api], CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF

0 commit comments

Comments
 (0)