You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
504 B

  1. --
  2. -- База данных: `testdb`
  3. --
  4. CREATE DATABASE `testdb` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
  5. USE `testdb`;
  6. -- --------------------------------------------------------
  7. --
  8. -- Структура таблицы `table`
  9. --
  10. CREATE TABLE IF NOT EXISTS `table` (
  11. `id` int(3) NOT NULL AUTO_INCREMENT,
  12. `content` varchar(255) NOT NULL,
  13. `user` varchar(255) NOT NULL,
  14. `created` datetime NOT NULL,
  15. PRIMARY KEY (`id`)
  16. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;