IM_Store.migrations 574 B

1234567891011121314151617181920212223242526
  1. :VERSION 1 # --------------------------
  2. BEGIN Transaction;
  3. Create Sequence im_offiline_id increment by 1 start with 1;
  4. CREATE TABLE im_offline (
  5. "ID" integer PRIMARY KEY NOT NULL DEFAULT nextval('im_offiline_id') ,
  6. "PrincipalID" char(36) NOT NULL default '',
  7. "Message" text NOT NULL,
  8. "TMStamp" timestamp NOT NULL default now()
  9. );
  10. COMMIT;
  11. :VERSION 2 # --------------------------
  12. BEGIN;
  13. /*
  14. INSERT INTO `im_offline` SELECT * from `diva_im_offline`;
  15. DROP TABLE `diva_im_offline`;
  16. DELETE FROM `migrations` WHERE name='diva_im_Store';
  17. */
  18. COMMIT;