Browse Source

added sql script for test database

master
Anton Grebnev 13 years ago
parent
commit
83d6dfcc41
  1. 19
      tests/model/testdb.sql

19
tests/model/testdb.sql

@ -0,0 +1,19 @@
--
-- База данных: `testdb`
--
CREATE DATABASE `testdb` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `testdb`;
-- --------------------------------------------------------
--
-- Структура таблицы `table`
--
CREATE TABLE IF NOT EXISTS `table` (
`id` int(3) NOT NULL AUTO_INCREMENT,
`content` varchar(255) NOT NULL,
`user` varchar(255) NOT NULL,
`created` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
Loading…
Cancel
Save