def create_license_link_table(self):
        schema = settings.LICENSE_LINK_SCHEMA
        table = settings.LICENSE_LINK_TABLE
        public_role = settings.PUBLIC_ROLE

        self._check_for_injections(schema)
        self._validate_table_name(table)
        self._check_for_injections(public_role)

        query = ('CREATE TABLE IF NOT EXISTS %s.%s '
                 '(license_link_id serial primary key,'
                 'repo_base VARCHAR(40) NOT NULL,'
                 'repo VARCHAR(40) NOT NULL,'
                 'license_id integer NOT NULL);')
        params = (AsIs(schema), AsIs(table))
        self.execute_sql(query, params)

        query = ('GRANT ALL ON %s.%s to %s;')
        params = (AsIs(schema), AsIs(table), AsIs(public_role))

        return self.execute_sql(query, params)