public static function getCreateTable() { return DDL\create(self::TABLE_NAME, [DDL\column('id')->integer()->primary(), DDL\column('name')->varchar(50)->required()]); }
public function setUp() { $this->reactor = $this->createReactor($this->createController(TestUtil::getControllerParams())); $this->queryAwait(new Query\GenericQuery(Fixtures::getCreateTable())); }