node-query/tests/sql/mysql.sql

28 lines
473 B
MySQL
Raw Normal View History

2014-10-23 10:53:16 -04:00
-- sample data to test MySQL
--
-- Table structure for table `create_join`
--
2014-10-27 17:08:18 -04:00
DROP TABLE IF EXISTS `create_join`;
CREATE TABLE `create_join` (
`id` int(10) NOT NULL,
`key` text,
`val` text
);
ALTER TABLE `create_join`
ADD PRIMARY KEY (`id`);
--
-- Table structure for table `create_test`
--
2014-10-27 17:08:18 -04:00
DROP TABLE IF EXISTS `create_test`;
CREATE TABLE `create_test` (
`id` int(10) NOT NULL,
`key` text,
`val` text
);
ALTER TABLE `create_test`
2014-10-31 11:57:44 -04:00
ADD PRIMARY KEY (`id`);