'id', 'type' => 'bigint', 'length' => '20', 'unsigned' => true, 'extra' => 'auto_increment', 'primary' => true, 'sortable' => true, ), array( 'name' => 'blog_id', 'type' => 'bigint', 'length' => '20', 'unsigned' => true, 'aliases' => array('site_id', 'site'), 'searchable' => true, 'sortable' => true, ), array( 'name' => 'domain', 'type' => 'varchar', 'searchable' => true, 'sortable' => true, 'transition' => true, ), array( 'name' => 'active', 'type' => 'tinyint', 'length' => '4', 'unsigned' => true, 'default' => 1, 'transition' => true, 'sortable' => true, ), array( 'name' => 'primary_domain', 'type' => 'tinyint', 'length' => '4', 'unsigned' => true, 'default' => 0, 'transition' => true, 'sortable' => true, ), array( 'name' => 'secure', 'type' => 'tinyint', 'length' => '4', 'unsigned' => true, 'default' => 0, 'transition' => true, 'sortable' => true, ), array( 'name' => 'stage', 'type' => 'enum(\'checking-dns\', \'checking-ssl-cert\', \'done-without-ssl\', \'done\', \'failed\')', 'default' => 'checking-dns', 'transition' => true, 'sortable' => true, ), array( 'name' => 'date_created', 'type' => 'datetime', 'default' => null, 'created' => true, 'date_query' => true, 'sortable' => true, 'allow_null' => true, ), array( 'name' => 'date_modified', 'type' => 'datetime', 'default' => null, 'modified' => true, 'date_query' => true, 'sortable' => true, 'allow_null' => true, ), ); }