Skip to content
This repository was archived by the owner on Jun 14, 2022. It is now read-only.

ALTER TABLE

Travis van der F edited this page Mar 28, 2019 · 2 revisions
ALTER TABLE database.table_name
  ADD INDEX (sid),
  ADD INDEX (eid),
  ADD INDEX (user_id),
  ADD INDEX (comment_id);
$x->alter_table('database.table_name')
  ->add_index('sid')
  ->add_index('eid')
  ->add_index('user_id')
  ->add_index('comment_id');
Clone this wiki locally