 ALTER TABLE PROFILE_IMAGES_EXTERNAL_T ADD URL_AVATAR text;
 
 -- BLTI-156
-CREATE TABLE lti_mapping (
+CREATE TABLE IF NOT EXISTS lti_mapping (
     id INTEGER NOT NULL AUTO_INCREMENT,
     matchpattern VARCHAR(255) NOT NULL,
     launch VARCHAR(255) NOT NULL,

    updated_at DATETIME NOT NULL,
 PRIMARY KEY( id )
)
CREATE TABLE lti_tools (
    id INTEGER NOT NULL AUTO_INCREMENT,
    SITE_ID VARCHAR(99),
    title VARCHAR(255) NOT NULL,

    updated_at DATETIME NOT NULL,
 PRIMARY KEY( id )
)
CREATE TABLE IF NOT EXISTS lti_content (
    id INTEGER NOT NULL AUTO_INCREMENT,
    tool_id INT,
    SITE_ID VARCHAR(99),
