Exemplo n.º 1
0
 public function DropPrimaryKey(IConnection $Connection, QueryBuilder $QueryBuilder, Table $Table, Traits\PrimaryKey $Trait)
 {
     QueryBuilderExtensions::AppendAlterTable($QueryBuilder, $Table);
     $QueryBuilder->Append('DROP PRIMARY KEY');
 }
Exemplo n.º 2
0
 protected function AppendDropColumnQuery(QueryBuilder $QueryBuilder, Table $Table, Column $Column)
 {
     QueryBuilderExtensions::AppendAlterTable($QueryBuilder, $Table);
     $QueryBuilder->AppendIdentifier('DROP COLUMN #', [$Column->GetName()]);
 }