src/Interface/SchemaInterface.php
<?php
/**
* Defining Interface for class SchemaInterface.
*
* @package Ibonly\PotatoORM\DatabaseQueryInterface
* @author Ibraheem ADENIYI <ibonly01@gmail.com>
* @license MIT <https://opensource.org/licenses/MIT>
*/
namespace Ibonly\PotatoORM;
interface SchemaInterface
{
public function createTable($tablename);
public function increments($value);
public function strings($value, $length);
public function text($value);
public function integer($value, $length);
public function foreignKey($value, $length);
public function dateTime($value, $length);
public function buildQuery($tablename);
public function sanitizeQuery($query);
}