mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix sql
This commit is contained in:
parent
d994d49c37
commit
695b0e12a7
|
|
@ -22,4 +22,5 @@ ALTER TABLE llx_blockedlog ADD INDEX entity (entity);
|
|||
ALTER TABLE llx_blockedlog ADD INDEX fk_user (fk_user);
|
||||
ALTER TABLE llx_blockedlog ADD INDEX entity_action_certified (entity,action,certified);
|
||||
|
||||
ALTER TABLE llx_blockedlog ADD INDEX entity_rowid (entity, rowid); -- for the "SELECT rowid, signature FROM llx_blockedlog FORCE INDEX entity_rowid WHERE entity = x AND rowid < z ORDER BY rowid DESC"
|
||||
-- We add this index for the "SELECT rowid, signature FROM llx_blockedlog FORCE INDEX entity_rowid WHERE entity = x AND rowid < z ORDER BY rowid DESC"
|
||||
ALTER TABLE llx_blockedlog ADD INDEX entity_rowid (entity, rowid);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user