2009021201.sql 589 B

12345678910111213141516171819
  1. -- River
  2. CREATE TABLE IF NOT EXISTS `prefix_river` (
  3. `id` INT NOT NULL AUTO_INCREMENT ,
  4. `type` VARCHAR( 8 ) NOT NULL ,
  5. `subtype` VARCHAR( 32 ) NOT NULL ,
  6. `action_type` VARCHAR( 32 ) NOT NULL ,
  7. `access_id` INT NOT NULL ,
  8. `view` TEXT NOT NULL ,
  9. `subject_guid` INT NOT NULL ,
  10. `object_guid` INT NOT NULL ,
  11. `posted` INT NOT NULL ,
  12. PRIMARY KEY ( `id` ) ,
  13. KEY `type` (`type`),
  14. KEY `action_type` (`action_type`),
  15. KEY `access_id` (`access_id`),
  16. KEY `subject_guid` (`subject_guid`),
  17. KEY `object_guid` (`object_guid`),
  18. KEY `posted` (`posted`)
  19. ) ENGINE = MYISAM DEFAULT CHARSET=utf8;