%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/water/vendor/yiisoft/yii2/db/mysql/ |
Upload File : |
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace yii\db\mysql; use yii\db\ColumnSchemaBuilder as AbstractColumnSchemaBuilder; /** * ColumnSchemaBuilder is the schema builder for MySQL databases. * * @author Chris Harris <chris@buckshotsoftware.com> * @since 2.0.8 */ class ColumnSchemaBuilder extends AbstractColumnSchemaBuilder { /** * {@inheritdoc} */ protected function buildUnsignedString() { return $this->isUnsigned ? ' UNSIGNED' : ''; } /** * {@inheritdoc} */ protected function buildAfterString() { return $this->after !== null ? ' AFTER ' . $this->db->quoteColumnName($this->after) : ''; } /** * {@inheritdoc} */ protected function buildFirstString() { return $this->isFirst ? ' FIRST' : ''; } /** * {@inheritdoc} */ protected function buildCommentString() { return $this->comment !== null ? ' COMMENT ' . $this->db->quoteValue($this->comment) : ''; } /** * {@inheritdoc} */ public function __toString() { switch ($this->getTypeCategory()) { case self::CATEGORY_PK: $format = '{type}{length}{comment}{check}{append}{pos}'; break; case self::CATEGORY_NUMERIC: $format = '{type}{length}{unsigned}{notnull}{default}{unique}{comment}{append}{pos}{check}'; break; default: $format = '{type}{length}{notnull}{default}{unique}{comment}{append}{pos}{check}'; } return $this->buildCompleteString($format); } }