mirror of
https://github.com/dg/dibi.git
synced 2025-08-05 13:47:33 +02:00
tests: improved sql dumps, renamed pgsql -> postgre
This commit is contained in:
@@ -7,7 +7,7 @@ USE dibi_test;
|
||||
DROP TABLE IF EXISTS `products`;
|
||||
CREATE TABLE `products` (
|
||||
`product_id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`title` varchar(100) DEFAULT NULL,
|
||||
`title` varchar(100) NOT NULL,
|
||||
PRIMARY KEY (`product_id`),
|
||||
KEY `title` (`title`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
@@ -20,7 +20,7 @@ INSERT INTO `products` (`product_id`, `title`) VALUES
|
||||
DROP TABLE IF EXISTS `customers`;
|
||||
CREATE TABLE `customers` (
|
||||
`customer_id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(100) DEFAULT NULL,
|
||||
`name` varchar(100) NOT NULL,
|
||||
PRIMARY KEY (`customer_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
|
Reference in New Issue
Block a user