Inpsyde\MultilingualPress\Database\Table\SiteRelationsTable::schema PHP Method

schema() public method

Returns the table schema.
Since: 3.0.0
public schema ( ) : string[]
return 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'];
    }