You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we have $this->primaryKey() that returns for mysql int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, so if we will use $this->primaryKey() the way suggested by @mdmunir , we will lose backward compatibility.
I think, that if current implementation of migration's $this->integer() and other methods return object, why $this->createTable() can not do the same?
NO, its not same with
Migration::addPrimaryKey()
orMigration::addForeignKey()
. Its used directly at create table statement.The text was updated successfully, but these errors were encountered: