-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
type:enhancementEnhancementEnhancement
Description
As I said in the title, this is not a bug, but a proposal (didn't know where to write this that would be seen.
Now, on my project I have a big database (not in terms of data but in terms of tables and columns in those tables), and I also have a lot of indexes.
I noticed today that I need to write in a migration class
$this->createIndex('name', 'table', ['columns'])
after creating a new table, what I'm thinking should be a good idea is to add a possibility for method chaining on "createTable" function where I wouldn't need to enter table name for every index.
Or perhaps another parameter in createTable function that would easily let me add indexes in one place.
Sarke
Metadata
Metadata
Assignees
Labels
type:enhancementEnhancementEnhancement