forked from deblan/database-anonymizer
tests: add mysql/postgres datas
This commit is contained in:
parent
77a87114c8
commit
2ba8561574
3 changed files with 35 additions and 0 deletions
|
|
@ -25,3 +25,16 @@ INSERT INTO `table_truncate2` (`id`, `delete_me`) VALUES
|
|||
(1, 1),
|
||||
(2, 1),
|
||||
(3, 0);
|
||||
|
||||
DROP TABLE IF EXISTS `table_update`;
|
||||
CREATE TABLE `table_update` (
|
||||
`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
`col_string` varchar(255) NULL,
|
||||
`col_bool` int NULL,
|
||||
`col_int` int NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
INSERT INTO `table_update` (`id`, `col_string`, `col_bool`, `col_int`) VALUES
|
||||
(1, 'foo', 1, 1),
|
||||
(2, 'bar', 0, 2),
|
||||
(3, NULL, NULL, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue