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.

15 lines
377 B

  1. --
  2. -- $Id$
  3. --
  4. DROP TABLE IF EXISTS `session`;
  5. CREATE TABLE `session` (
  6. `id` CHAR( 32 ) NOT NULL ,
  7. `expires` INT UNSIGNED NOT NULL ,
  8. `ip` INT UNSIGNED NOT NULL ,
  9. `user_id` INT UNSIGNED NOT NULL DEFAULT 0,
  10. `data` TEXT NOT NULL ,
  11. PRIMARY KEY ( `id` ) ,
  12. INDEX `expires` ( `expires` ) ,
  13. INDEX `user_id` ( `user_id` )
  14. ) ENGINE = InnoDB DEFAULT CHARACTER SET = utf8;