PHP Classes

File: src/SQLTools/Command/DropPrimaryKey.php

Recommend this page to a friend!
  Classes of Rafael Lúcio   SQLTools   src/SQLTools/Command/DropPrimaryKey.php   Download  
File: src/SQLTools/Command/DropPrimaryKey.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: SQLTools
Create and alter databases, tables and indexes
Author: By
Last change: Update of src/SQLTools/Command/DropPrimaryKey.php
Date: 11 months ago
Size: 330 bytes
 

Contents

Class file image Download
<?php
/**
 * Created by PhpStorm.
 * User: rfontes
 * Date: 18/11/13
 * Time: 09:06
 */

namespace SQLTools\Command;


use
SQLTools\Base\AlterTableEnum;

class
DropPrimaryKey extends AlterTable {

    protected
$changeType = AlterTableEnum::DROP;

    protected function
getWhatToAdd()
    {
        return
"PRIMARY KEY";
    }
}