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

    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,

ALTER TABLE PROFILE_IMAGES_EXTERNAL_T ADD URL_AVATAR text;

-- BLTI-156
CREATE TABLE IF NOT EXISTS lti_mapping (
    id INTEGER NOT NULL AUTO_INCREMENT,
    matchpattern VARCHAR(255) NOT NULL,
    launch VARCHAR(255) NOT NULL,
