Inpsyde\MultilingualPress\Database\Table\ContentRelationsTable::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 ['ml_id' => 'int unsigned NOT NULL AUTO_INCREMENT', 'ml_source_blogid' => 'bigint(20) NOT NULL', 'ml_source_elementid' => 'bigint(20) NOT NULL', 'ml_blogid' => 'bigint(20) NOT NULL', 'ml_elementid' => 'bigint(20) NOT NULL', 'ml_type' => 'varchar(20) NOT NULL'];
    }