v1.0.0
English

Table.php

system/Database/SQLite3/Table.php
1 class 16 methods

class Table

Provides missing features for altering tables that are common in other supported databases, but are missing from SQLite. These are needed in order to support migrations during testing when another database is used as the primary engine, but SQLite in memory databases are used for faster test execution.
__construct (Connection $db, Forge $forge) public
fromTable (string $table) public
run () public
dropColumn ($columns) public
modifyColumn (array $fieldsToModify) public
dropPrimaryKey () public
dropForeignKey (string $foreignName) public
addPrimaryKey (array $fields) public
addForeignKey (array $foreignKeys) public
createTable () protected
copyData () protected
formatFields ($fields) protected
isIntegerType (string $type) private
isNumericType (string $type) private
formatKeys ($keys) protected
dropIndexes () protected
phpDG v1.0.0 Table.php 662 files 498 classes 763 fn
Generated