fkooman\RemoteStorage\MetadataStorage::createTableQueries PHP Method

createTableQueries() public static method

public static createTableQueries ( $prefix )
    public static function createTableQueries($prefix)
    {
        $query = array();
        $query[] = sprintf('CREATE TABLE IF NOT EXISTS %s (
                path VARCHAR(255) NOT NULL,
                content_type VARCHAR(255) DEFAULT NULL,
                version VARCHAR(255) NOT NULL,
                UNIQUE (path)
            )', $prefix . 'md');
        return $query;
    }