($this->_platform); } $this->_conn->executeStatement($this->_platform->getDropConstraintSQL($constraint->getQuotedName($this->_platform), $table)); } public function dropForeignKey($foreignKey, $table) { if ($foreignKey instanceof ForeignKeyConstraint) { Deprecation::trigger('doctrine/dbal', 'https://github.com/doctrine/dbal/issues/4798', 'Passing $foreignKey as a ForeignKeyConstraint object to %s is deprecated.' . ' Pass it as a quoted name instead.', __METHOD__); $foreignKey = $foreignKey->getQuotedName($this->_platform); } if ($table instanceof Table) { Deprecation::trigger('doctrine/dbal', 'https://github.com/doctrine/dbal/issues/4798', 'Passing $table as a Table object to %s is deprecated. Pass it as a quoted name instead.', __METHOD__); $table = $table->getQuotedName($this->_platform); } $this->_conn->executeStatement($this->_platform->getDropForeignKeySQL($foreignKey, $table)); } public function dropSequence($name) { $this->_conn->executeStatement($this->_platform->getDropSequenceSQL($name)); } public function dropUniqueConstraint(string $name, string $tableName) : void { $this->_conn->executeStatement($this->_platform->getDropUniqueConstraintSQL($name, $tableName)); } public function dropView($name) { $this->_conn->executeStatement($this->_platform->getDropViewSQL($name)); } public function createSchemaObjects(Schema $schema) : void { $this->_execSql($schema->toSql($this->_platform)); } public function createDatabase($database) { $this->_conn->executeStatement($this->_platform->getCreateDatabaseSQL($database)); } public function createTable(Table $table) { $createFlags = AbstractPlatform::CREATE_INDEXES | AbstractPlatform::CREATE_FOREIGNKEYS; $this->_execSql($this->_platform->getCreateTableSQL($table, $createFlags)); } public function createSequence($sequence) { $this->_conn->executeStatement($this->_platform->getCreateSequenceSQL($sequence)); } public function createConstraint(Constraint $constraint, $table) { $this->_conn->executeStatement($this->_platform->getCreateConstraintSQL($constraint, $table)); } public function createIndex(Index $index, $table) { $this->_conn->executeStatement($this->_platform->getCreateIndexSQL($index, $table)); } public function createForeignKey(ForeignKeyConstraint $foreignKey, $table) { $this->_conn->executeStatement($this->_platform->getCreateForeignKeySQL($foreignKey, $table)); } public function createUniqueConstraint(UniqueConstraint $uniqueConstraint, string $tableName) : void { $this->_conn->executeStatement($this->_platform->getCreateUniqueConstraintSQL($uniqueConstraint, $tableName)); } public function createView(View $view) { $this->_conn->executeStatement($this->_platform->getCreateViewSQL($view->getQuotedName($this->_platform), $view->getSql())); } public function dropSchemaObjects(Schema $schema) : void { $this->_execSql($schema->toDropSql($this->_platform)); } public function dropAndCreateConstraint(Constraint $constraint, $table) { Deprecation::trigger('doctrine/dbal', 'https://github.com/doctrine/dbal/pull/4897', 'AbstractSchemaManager::dropAndCreateConstraint() is deprecated.' . ' Use AbstractSchemaManager::dropIndex() and AbstractSchemaManager::createIndex(),' . ' AbstractSchemaManager::dropForeignKey() and AbstractSchemaManager::createForeignKey()' . ' or AbstractSchemaManager::dropUniqueConstraint()' . ' and AbstractSchemaManager::cr Contact Us – Gamemart

Contact Us

contact us

Need an expert? you are more than welcomed to leave your contact info and we will be in touch shortly

Visit us

Lorem ipsum dolor sit amet, cones ctetur adipiscing elit dusch solli citudin arcu non rutrum

123, Street, City, State, Country

Call us

Lorem ipsum dolor sit amet, cones ctetur adipiscing elit dusch solli citudin arcu non rutrum

+0 (0) xxx xxx xxxx

Contact us

Lorem ipsum dolor sit amet, cones ctetur adipiscing elit dusch solli citudin arcu non rutrum

noreply@example.com

[contact-form-7 id=”5″ title=”Contact form 1″]


Facebook


Twitter


Google-plus


Pinterest


Instagram

Cart
Your cart is currently empty.