src/modules/setting/migrations/m010101_100001_init_setting.php
public function up ()
		{
			$this->createTable('setting', [
				'name'        => $this->string(45)->notNull()->unique(),
				'value'       => $this->text()->null(),
				'description' => $this->text()->null(),
			]);
			$this->addPrimaryKey('name', 'setting', 'name');
		}
public function up ()
		{
			$this->createTable('setting', [
				'name'        => $this->string(45)->notNull()->unique(),
				'value'       => $this->text()->null(),
				'description' => $this->text()->null(),
			]);
			$this->addPrimaryKey('name', 'setting', 'name');
		}
public function up ( ) { $ this -> createTable ( 'setting' , [ 'name' => $ this -> string ( 45 ) -> notNull ( ) -> unique ( ) , 'value' => $ this -> text ( ) -> null ( ) , 'description' => $ this -> text ( ) -> null ( ) , ] ) ; $ this -> addPrimaryKey ( 'name' , 'setting' , 'name' ) ; }
Create table `Setting`
Create table Setting