salix/db/versions/.archive/10513-aquaCataractarum/00-firstScript.sql

5 lines
199 B
MySQL
Raw Permalink Normal View History

-- Place your SQL code here
ALTER TABLE `salix`.`AccessToken`
ADD COLUMN `outdated` DATETIME AS (TIMESTAMPADD(SECOND, ttl, created)) PERSISTENT,
ADD INDEX `outdated_Index` (`outdated` ASC) VISIBLE;