15.04.06.sql 249 B

1234567
  1. ALTER TABLE `session`
  2. ADD COLUMN `ip` VARBINARY(39) NOT NULL AFTER `token`,
  3. DROP INDEX `session_token`, ADD UNIQUE INDEX `session_token` (`token`, `ip`);
  4. TRUNCATE `session`;
  5. UPDATE `config` SET `value` = '15.04.06' WHERE `attribute` = 'version';