Welcome Guest, Not a member yet? Register   Sign In
How to create index using forge migration
#1

(This post was last modified: 06-30-2020, 02:50 PM by MatheusCastro.)

I didn't find anything like that in the documentation.

I also didn't find any reference in the Forge.php file.

Would it be necessary to do a manual query?
Reply
#2

You want `addKey`:

$this->forge->addKey('created_at');
Reply




Theme © iAndrew 2016 - Forum software by © MyBB