Silnik strony + galerii zdjęć Suczawa 2009
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.

21 lines
975 B

  1. # zapytania do Bazy
  2. # Galeria Suczawy 2009
  3. # 2009 (c) PioDer
  4. # $Id$
  5. CREATE TABLE `photos` (
  6. `id` SMALLINT( 4 ) NOT NULL ,
  7. `thumb_name` VARCHAR( 20 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
  8. `photo_name` VARCHAR( 20 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
  9. `author` VARCHAR( 30 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
  10. `description` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
  11. PRIMARY KEY ( `id` )
  12. ) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci AUTO_INCREMENT=4 ;
  13. CREATE TABLE `admins` (
  14. `id` SMALLINT( 1 ) NOT NULL ,
  15. `nick` VARCHAR( 20 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
  16. `password` VARCHAR( 200 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
  17. `email` VARCHAR( 20 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
  18. `IP` VARCHAR( 14 ) NOT NULL ,
  19. PRIMARY KEY ( `id` )
  20. ) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci AUTO_INCREMENT=10;