Inpsyde\MultilingualPress\Database\Table\SiteRelationsTable::schema PHP Метод

schema() публичный Метод

Returns the table schema.
С версии: 3.0.0
public schema ( ) : string[]
Результат string[] An array with fields as keys and the according SQL definitions as values.
    public function schema()
    {
        return ['ID' => 'int unsigned NOT NULL AUTO_INCREMENT', 'site_1' => 'bigint(20) NOT NULL', 'site_2' => 'bigint(20) NOT NULL'];
    }