%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /data/old/home/stash/data/
Upload File :
Create Path :
Current File : //data/old/home/stash/data/db.script

SET DATABASE UNIQUE NAME HSQLDB4566D22DCB
SET DATABASE GC 0
SET DATABASE DEFAULT RESULT MEMORY ROWS 0
SET DATABASE EVENT LOG LEVEL 0
SET DATABASE SQL NAMES FALSE
SET DATABASE SQL REFERENCES FALSE
SET DATABASE SQL SIZE TRUE
SET DATABASE SQL TYPES FALSE
SET DATABASE SQL TDC DELETE TRUE
SET DATABASE SQL TDC UPDATE TRUE
SET DATABASE SQL TRANSLATE TTI TYPES TRUE
SET DATABASE SQL CONCAT NULLS TRUE
SET DATABASE SQL UNIQUE NULLS TRUE
SET DATABASE SQL CONVERT TRUNCATE TRUE
SET DATABASE SQL DOUBLE NAN TRUE
SET DATABASE SQL LONGVAR IS LOB FALSE
SET DATABASE TRANSACTION CONTROL LOCKS
SET DATABASE DEFAULT ISOLATION LEVEL READ COMMITTED
SET DATABASE TRANSACTION ROLLBACK ON DEADLOCK TRUE
SET DATABASE TEXT TABLE DEFAULTS ''
SET FILES WRITE DELAY 500 MILLIS
SET FILES BACKUP INCREMENT TRUE
SET FILES CACHE SIZE 10000
SET FILES CACHE ROWS 50000
SET FILES SCALE 8
SET FILES LOB SCALE 32
SET FILES DEFRAG 0
SET FILES NIO TRUE
SET FILES NIO SIZE 256
SET FILES LOG TRUE
SET FILES LOG SIZE 50
CREATE USER SA PASSWORD DIGEST 'd41d8cd98f00b204e9800998ecf8427e'
ALTER USER SA SET LOCAL TRUE
CREATE SCHEMA PUBLIC AUTHORIZATION DBA
SET SCHEMA PUBLIC
CREATE MEMORY TABLE PUBLIC.DATABASECHANGELOGLOCK(ID INTEGER NOT NULL,LOCKED BOOLEAN NOT NULL,LOCKGRANTED TIMESTAMP,LOCKEDBY VARCHAR(255),CONSTRAINT PK_DATABASECHANGELOGLOCK PRIMARY KEY(ID))
CREATE MEMORY TABLE PUBLIC.DATABASECHANGELOG(ID VARCHAR(63) NOT NULL,AUTHOR VARCHAR(63) NOT NULL,FILENAME VARCHAR(200) NOT NULL,DATEEXECUTED TIMESTAMP NOT NULL,ORDEREXECUTED INTEGER NOT NULL,EXECTYPE VARCHAR(10) NOT NULL,MD5SUM VARCHAR(35),DESCRIPTION VARCHAR(255),COMMENTS VARCHAR(255),TAG VARCHAR(255),LIQUIBASE VARCHAR(20),CONSTRAINT PK_DATABASECHANGELOG PRIMARY KEY(ID,AUTHOR,FILENAME))
CREATE MEMORY TABLE PUBLIC.CWD_APPLICATION(ID BIGINT NOT NULL PRIMARY KEY,APPLICATION_NAME VARCHAR(255) NOT NULL,LOWER_APPLICATION_NAME VARCHAR(255) NOT NULL,CREATED_DATE TIMESTAMP NOT NULL,UPDATED_DATE TIMESTAMP NOT NULL,DESCRIPTION VARCHAR(255),APPLICATION_TYPE VARCHAR(32) NOT NULL,CREDENTIAL VARCHAR(255) NOT NULL,IS_ACTIVE CHARACTER(1) NOT NULL)
CREATE INDEX IDX_APP_TYPE ON PUBLIC.CWD_APPLICATION(APPLICATION_TYPE)
CREATE UNIQUE INDEX SYS_IDX_SYS_CT_10094_10096 ON PUBLIC.CWD_APPLICATION(LOWER_APPLICATION_NAME)
CREATE INDEX IDX_APP_ACTIVE ON PUBLIC.CWD_APPLICATION(IS_ACTIVE)
CREATE MEMORY TABLE PUBLIC.CWD_DIRECTORY(ID BIGINT NOT NULL PRIMARY KEY,DIRECTORY_NAME VARCHAR(255) NOT NULL,LOWER_DIRECTORY_NAME VARCHAR(255) NOT NULL,CREATED_DATE TIMESTAMP NOT NULL,UPDATED_DATE TIMESTAMP NOT NULL,DESCRIPTION VARCHAR(255),IMPL_CLASS VARCHAR(255) NOT NULL,LOWER_IMPL_CLASS VARCHAR(255) NOT NULL,DIRECTORY_TYPE VARCHAR(32) NOT NULL,IS_ACTIVE CHARACTER(1) NOT NULL)
CREATE INDEX IDX_DIR_L_IMPL_CLASS ON PUBLIC.CWD_DIRECTORY(LOWER_IMPL_CLASS)
CREATE INDEX IDX_DIR_TYPE ON PUBLIC.CWD_DIRECTORY(DIRECTORY_TYPE)
CREATE UNIQUE INDEX SYS_IDX_SYS_CT_10128_10130 ON PUBLIC.CWD_DIRECTORY(LOWER_DIRECTORY_NAME)
CREATE INDEX IDX_DIR_ACTIVE ON PUBLIC.CWD_DIRECTORY(IS_ACTIVE)
CREATE MEMORY TABLE PUBLIC.CWD_APP_DIR_MAPPING(ID BIGINT NOT NULL PRIMARY KEY,APPLICATION_ID BIGINT NOT NULL,DIRECTORY_ID BIGINT NOT NULL,LIST_INDEX INTEGER,IS_ALLOW_ALL CHARACTER(1) NOT NULL,CONSTRAINT FK_APP_DIR_APP FOREIGN KEY(APPLICATION_ID) REFERENCES PUBLIC.CWD_APPLICATION(ID),CONSTRAINT FK_APP_DIR_DIR FOREIGN KEY(DIRECTORY_ID) REFERENCES PUBLIC.CWD_DIRECTORY(ID))
CREATE UNIQUE INDEX SYS_IDX_SYS_CT_10078_10080 ON PUBLIC.CWD_APP_DIR_MAPPING(APPLICATION_ID,DIRECTORY_ID)
CREATE MEMORY TABLE PUBLIC.CWD_APP_DIR_GROUP_MAPPING(ID BIGINT NOT NULL PRIMARY KEY,APP_DIR_MAPPING_ID BIGINT NOT NULL,APPLICATION_ID BIGINT NOT NULL,DIRECTORY_ID BIGINT NOT NULL,GROUP_NAME VARCHAR(255) NOT NULL,CONSTRAINT FK_APP_DIR_GROUP_DIR FOREIGN KEY(DIRECTORY_ID) REFERENCES PUBLIC.CWD_DIRECTORY(ID),CONSTRAINT FK_APP_DIR_GROUP_MAPPING FOREIGN KEY(APP_DIR_MAPPING_ID) REFERENCES PUBLIC.CWD_APP_DIR_MAPPING(ID),CONSTRAINT FK_APP_DIR_GROUP_APP FOREIGN KEY(APPLICATION_ID) REFERENCES PUBLIC.CWD_APPLICATION(ID))
CREATE INDEX IDX_APP_DIR_GROUP_GROUP_DIR ON PUBLIC.CWD_APP_DIR_GROUP_MAPPING(DIRECTORY_ID,GROUP_NAME)
CREATE UNIQUE INDEX SYS_IDX_SYS_CT_10070_10072 ON PUBLIC.CWD_APP_DIR_GROUP_MAPPING(APP_DIR_MAPPING_ID,GROUP_NAME)
CREATE MEMORY TABLE PUBLIC.CWD_APP_DIR_OPERATION(APP_DIR_MAPPING_ID BIGINT NOT NULL,OPERATION_TYPE VARCHAR(32) NOT NULL,PRIMARY KEY(APP_DIR_MAPPING_ID,OPERATION_TYPE),CONSTRAINT FK_APP_DIR_MAPPING FOREIGN KEY(APP_DIR_MAPPING_ID) REFERENCES PUBLIC.CWD_APP_DIR_MAPPING(ID))
CREATE MEMORY TABLE PUBLIC.CWD_APPLICATION_ADDRESS(APPLICATION_ID BIGINT NOT NULL,REMOTE_ADDRESS VARCHAR(255) NOT NULL PRIMARY KEY,CONSTRAINT FK_APPLICATION_ADDRESS FOREIGN KEY(APPLICATION_ID) REFERENCES PUBLIC.CWD_APPLICATION(ID))
CREATE MEMORY TABLE PUBLIC.CWD_APPLICATION_ALIAS(ID BIGINT NOT NULL PRIMARY KEY,APPLICATION_ID BIGINT NOT NULL,USER_NAME VARCHAR(255) NOT NULL,LOWER_USER_NAME VARCHAR(255) NOT NULL,ALIAS_NAME VARCHAR(255) NOT NULL,LOWER_ALIAS_NAME VARCHAR(255) NOT NULL,CONSTRAINT FK_ALIAS_APP_ID FOREIGN KEY(APPLICATION_ID) REFERENCES PUBLIC.CWD_APPLICATION(ID))
CREATE UNIQUE INDEX SYS_IDX_SYS_CT_10109_10112 ON PUBLIC.CWD_APPLICATION_ALIAS(APPLICATION_ID,LOWER_USER_NAME)
CREATE UNIQUE INDEX SYS_IDX_SYS_CT_10110_10113 ON PUBLIC.CWD_APPLICATION_ALIAS(APPLICATION_ID,LOWER_ALIAS_NAME)
CREATE MEMORY TABLE PUBLIC.CWD_APPLICATION_ATTRIBUTE(APPLICATION_ID BIGINT NOT NULL,ATTRIBUTE_VALUE VARCHAR(4000),ATTRIBUTE_NAME VARCHAR(255) NOT NULL,PRIMARY KEY(APPLICATION_ID,ATTRIBUTE_NAME),CONSTRAINT FK_APPLICATION_ATTRIBUTE FOREIGN KEY(APPLICATION_ID) REFERENCES PUBLIC.CWD_APPLICATION(ID))
CREATE MEMORY TABLE PUBLIC.CWD_DIRECTORY_ATTRIBUTE(DIRECTORY_ID BIGINT NOT NULL,ATTRIBUTE_VALUE VARCHAR(4000),ATTRIBUTE_NAME VARCHAR(255) NOT NULL,PRIMARY KEY(DIRECTORY_ID,ATTRIBUTE_NAME),CONSTRAINT FK_DIRECTORY_ATTRIBUTE FOREIGN KEY(DIRECTORY_ID) REFERENCES PUBLIC.CWD_DIRECTORY(ID))
CREATE MEMORY TABLE PUBLIC.CWD_DIRECTORY_OPERATION(DIRECTORY_ID BIGINT NOT NULL,OPERATION_TYPE VARCHAR(32) NOT NULL,PRIMARY KEY(DIRECTORY_ID,OPERATION_TYPE),CONSTRAINT FK_DIRECTORY_OPERATION FOREIGN KEY(DIRECTORY_ID) REFERENCES PUBLIC.CWD_DIRECTORY(ID))
CREATE MEMORY TABLE PUBLIC.CWD_GROUP(ID BIGINT NOT NULL PRIMARY KEY,GROUP_NAME VARCHAR(255) NOT NULL,LOWER_GROUP_NAME VARCHAR(255) NOT NULL,CREATED_DATE TIMESTAMP NOT NULL,UPDATED_DATE TIMESTAMP NOT NULL,DESCRIPTION VARCHAR(255),GROUP_TYPE VARCHAR(32) NOT NULL,DIRECTORY_ID BIGINT NOT NULL,IS_ACTIVE CHARACTER(1) NOT NULL,IS_LOCAL CHARACTER(1) NOT NULL,CONSTRAINT FK_DIRECTORY_ID FOREIGN KEY(DIRECTORY_ID) REFERENCES PUBLIC.CWD_DIRECTORY(ID))
CREATE UNIQUE INDEX SYS_IDX_SYS_CT_10149_10151 ON PUBLIC.CWD_GROUP(LOWER_GROUP_NAME,DIRECTORY_ID)
CREATE INDEX IDX_GROUP_ACTIVE ON PUBLIC.CWD_GROUP(IS_ACTIVE,DIRECTORY_ID)
CREATE MEMORY TABLE PUBLIC.CWD_GROUP_ATTRIBUTE(ID BIGINT NOT NULL PRIMARY KEY,GROUP_ID BIGINT NOT NULL,DIRECTORY_ID BIGINT NOT NULL,ATTRIBUTE_NAME VARCHAR(255) NOT NULL,ATTRIBUTE_VALUE VARCHAR(255),ATTRIBUTE_LOWER_VALUE VARCHAR(255),CONSTRAINT FK_GROUP_ATTR_ID_GROUP_ID FOREIGN KEY(GROUP_ID) REFERENCES PUBLIC.CWD_GROUP(ID),CONSTRAINT FK_GROUP_ATTR_DIR_ID FOREIGN KEY(DIRECTORY_ID) REFERENCES PUBLIC.CWD_DIRECTORY(ID))
CREATE INDEX IDX_GROUP_ATTR_DIR_NAME_LVAL ON PUBLIC.CWD_GROUP_ATTRIBUTE(DIRECTORY_ID,ATTRIBUTE_NAME,ATTRIBUTE_LOWER_VALUE)
CREATE UNIQUE INDEX SYS_IDX_SYS_CT_10157_10159 ON PUBLIC.CWD_GROUP_ATTRIBUTE(GROUP_ID,ATTRIBUTE_NAME,ATTRIBUTE_LOWER_VALUE)
CREATE MEMORY TABLE PUBLIC.CWD_MEMBERSHIP(ID BIGINT NOT NULL PRIMARY KEY,PARENT_ID BIGINT,CHILD_ID BIGINT,MEMBERSHIP_TYPE VARCHAR(32),GROUP_TYPE VARCHAR(32) NOT NULL,PARENT_NAME VARCHAR(255) NOT NULL,LOWER_PARENT_NAME VARCHAR(255) NOT NULL,CHILD_NAME VARCHAR(255) NOT NULL,LOWER_CHILD_NAME VARCHAR(255) NOT NULL,DIRECTORY_ID BIGINT NOT NULL,CONSTRAINT FK_MEMBERSHIP_DIR FOREIGN KEY(DIRECTORY_ID) REFERENCES PUBLIC.CWD_DIRECTORY(ID))
CREATE INDEX IDX_MEM_DIR_CHILD ON PUBLIC.CWD_MEMBERSHIP(MEMBERSHIP_TYPE,LOWER_CHILD_NAME,DIRECTORY_ID)
CREATE INDEX IDX_MEM_DIR_PARENT ON PUBLIC.CWD_MEMBERSHIP(MEMBERSHIP_TYPE,LOWER_PARENT_NAME,DIRECTORY_ID)
CREATE INDEX IDX_MEM_DIR_PARENT_CHILD ON PUBLIC.CWD_MEMBERSHIP(MEMBERSHIP_TYPE,LOWER_PARENT_NAME,LOWER_CHILD_NAME,DIRECTORY_ID)
CREATE UNIQUE INDEX SYS_IDX_SYS_CT_10168_10170 ON PUBLIC.CWD_MEMBERSHIP(PARENT_ID,CHILD_ID,MEMBERSHIP_TYPE)
CREATE MEMORY TABLE PUBLIC.CWD_PROPERTY(PROPERTY_KEY VARCHAR(255) NOT NULL,PROPERTY_NAME VARCHAR(255) NOT NULL,PROPERTY_VALUE VARCHAR(4000),PRIMARY KEY(PROPERTY_KEY,PROPERTY_NAME))
CREATE MEMORY TABLE PUBLIC.CWD_USER(ID BIGINT NOT NULL PRIMARY KEY,USER_NAME VARCHAR(255) NOT NULL,LOWER_USER_NAME VARCHAR(255) NOT NULL,CREATED_DATE TIMESTAMP NOT NULL,UPDATED_DATE TIMESTAMP NOT NULL,FIRST_NAME VARCHAR(255),LOWER_FIRST_NAME VARCHAR(255),LAST_NAME VARCHAR(255),LOWER_LAST_NAME VARCHAR(255),DISPLAY_NAME VARCHAR(255),LOWER_DISPLAY_NAME VARCHAR(255),EMAIL_ADDRESS VARCHAR(255),LOWER_EMAIL_ADDRESS VARCHAR(255),DIRECTORY_ID BIGINT NOT NULL,CREDENTIAL VARCHAR(255),IS_ACTIVE CHARACTER(1) NOT NULL,EXTERNAL_ID VARCHAR(255),CONSTRAINT FK_USER_DIR_ID FOREIGN KEY(DIRECTORY_ID) REFERENCES PUBLIC.CWD_DIRECTORY(ID))
CREATE INDEX IDX_USER_LOWER_DISPLAY_NAME ON PUBLIC.CWD_USER(LOWER_DISPLAY_NAME,DIRECTORY_ID)
CREATE INDEX IDX_USER_LOWER_EMAIL_ADDRESS ON PUBLIC.CWD_USER(LOWER_EMAIL_ADDRESS,DIRECTORY_ID)
CREATE INDEX IDX_USER_LOWER_FIRST_NAME ON PUBLIC.CWD_USER(LOWER_FIRST_NAME,DIRECTORY_ID)
CREATE INDEX IDX_USER_LOWER_LAST_NAME ON PUBLIC.CWD_USER(LOWER_LAST_NAME,DIRECTORY_ID)
CREATE UNIQUE INDEX SYS_IDX_SYS_CT_10195_10197 ON PUBLIC.CWD_USER(LOWER_USER_NAME,DIRECTORY_ID)
CREATE INDEX IDX_USER_ACTIVE ON PUBLIC.CWD_USER(IS_ACTIVE,DIRECTORY_ID)
CREATE MEMORY TABLE PUBLIC.CWD_USER_ATTRIBUTE(ID BIGINT NOT NULL PRIMARY KEY,USER_ID BIGINT NOT NULL,DIRECTORY_ID BIGINT NOT NULL,ATTRIBUTE_NAME VARCHAR(255) NOT NULL,ATTRIBUTE_VALUE VARCHAR(255),ATTRIBUTE_LOWER_VALUE VARCHAR(255),CONSTRAINT FK_USER_ATTR_DIR_ID FOREIGN KEY(DIRECTORY_ID) REFERENCES PUBLIC.CWD_DIRECTORY(ID),CONSTRAINT FK_USER_ATTRIBUTE_ID_USER_ID FOREIGN KEY(USER_ID) REFERENCES PUBLIC.CWD_USER(ID))
CREATE INDEX IDX_USER_ATTR_DIR_NAME_LVAL ON PUBLIC.CWD_USER_ATTRIBUTE(DIRECTORY_ID,ATTRIBUTE_NAME,ATTRIBUTE_LOWER_VALUE)
CREATE UNIQUE INDEX SYS_IDX_SYS_CT_10203_10205 ON PUBLIC.CWD_USER_ATTRIBUTE(USER_ID,ATTRIBUTE_NAME,ATTRIBUTE_LOWER_VALUE)
CREATE MEMORY TABLE PUBLIC.CWD_USER_CREDENTIAL_RECORD(ID BIGINT NOT NULL PRIMARY KEY,USER_ID BIGINT NOT NULL,PASSWORD_HASH VARCHAR(255) NOT NULL,LIST_INDEX INTEGER,CONSTRAINT FK_USER_CRED_USER FOREIGN KEY(USER_ID) REFERENCES PUBLIC.CWD_USER(ID))
CREATE MEMORY TABLE PUBLIC.PROJECT(ID INTEGER NOT NULL,NAME VARCHAR(128) NOT NULL,PROJECT_KEY VARCHAR(128) NOT NULL,DESCRIPTION VARCHAR(255),PROJECT_TYPE INTEGER NOT NULL,CONSTRAINT PK_PROJECT PRIMARY KEY(ID),CONSTRAINT UK_PROJECT_KEY UNIQUE(PROJECT_KEY),CONSTRAINT UK_PROJECT_NAME UNIQUE(NAME))
CREATE INDEX IDX_PROJECT_TYPE ON PUBLIC.PROJECT(PROJECT_TYPE)
CREATE MEMORY TABLE PUBLIC.STASH_USER(ID INTEGER NOT NULL,CONSTRAINT PK_STASH_USER PRIMARY KEY(ID))
CREATE MEMORY TABLE PUBLIC.REPOSITORY(ID INTEGER NOT NULL,SLUG VARCHAR(128) NOT NULL,NAME VARCHAR(128) NOT NULL,STATE INTEGER NOT NULL,ORIGIN_ID INTEGER,PROJECT_ID INTEGER NOT NULL,SCM_ID VARCHAR(255) NOT NULL,HIERARCHY_ID VARCHAR(20) NOT NULL,IS_FORKABLE BOOLEAN NOT NULL,IS_PUBLIC BOOLEAN NOT NULL,CONSTRAINT PK_REPOSITORY PRIMARY KEY(ID),CONSTRAINT UK_SLUG_PROJECT_ID UNIQUE(SLUG,PROJECT_ID),CONSTRAINT FK_REPOSITORY_PROJECT FOREIGN KEY(PROJECT_ID) REFERENCES PUBLIC.PROJECT(ID),CONSTRAINT FK_REPOSITORY_ORIGIN FOREIGN KEY(ORIGIN_ID) REFERENCES PUBLIC.REPOSITORY(ID))
CREATE INDEX IDX_REPOSITORY_HIERARCHY_ID ON PUBLIC.REPOSITORY(HIERARCHY_ID)
CREATE INDEX IDX_REPOSITORY_ORIGIN_ID ON PUBLIC.REPOSITORY(ORIGIN_ID)
CREATE INDEX IDX_REPOSITORY_PROJECT_ID ON PUBLIC.REPOSITORY(PROJECT_ID)
CREATE INDEX IDX_REPOSITORY_STATE ON PUBLIC.REPOSITORY(STATE)
CREATE MEMORY TABLE PUBLIC.TRUSTED_APP(ID INTEGER NOT NULL,APPLICATION_ID VARCHAR(255) NOT NULL,CERTIFICATE_TIMEOUT BIGINT NOT NULL,PUBLIC_KEY_BASE64 VARCHAR(4000) NOT NULL,CONSTRAINT PK_TRUSTED_APP PRIMARY KEY(ID))
CREATE MEMORY TABLE PUBLIC.TRUSTED_APP_RESTRICTION(ID INTEGER NOT NULL,TRUSTED_APP_ID INTEGER NOT NULL,RESTRICTION_TYPE SMALLINT NOT NULL,RESTRICTION_VALUE VARCHAR(255) NOT NULL,CONSTRAINT PK_TRUSTED_APP_RESTRICTION PRIMARY KEY(ID),CONSTRAINT UK_TRUSTED_APP_RESTRICT UNIQUE(TRUSTED_APP_ID,RESTRICTION_TYPE,RESTRICTION_VALUE),CONSTRAINT FK_TRUSTED_APP FOREIGN KEY(TRUSTED_APP_ID) REFERENCES PUBLIC.TRUSTED_APP(ID) ON DELETE CASCADE)
CREATE MEMORY TABLE PUBLIC.CURRENT_APP(ID INTEGER NOT NULL,APPLICATION_ID VARCHAR(255) NOT NULL,PUBLIC_KEY_BASE64 VARCHAR(4000) NOT NULL,PRIVATE_KEY_BASE64 VARCHAR(4000) NOT NULL,CONSTRAINT PK_CURRENT_APP PRIMARY KEY(ID))
CREATE MEMORY TABLE PUBLIC.PERSISTENT_LOGINS(USERNAME VARCHAR(64) NOT NULL,SERIES VARCHAR(64) NOT NULL,TOKEN VARCHAR(64) NOT NULL,LAST_USED TIMESTAMP NOT NULL,CONSTRAINT PK_PERSISTENT_LOGINS PRIMARY KEY(SERIES))
CREATE MEMORY TABLE PUBLIC.APP_PROPERTY(PROP_KEY VARCHAR(50) NOT NULL,PROP_VALUE VARCHAR(2000) NOT NULL,CONSTRAINT PK_APP_PROPERTY PRIMARY KEY(PROP_KEY))
CREATE MEMORY TABLE PUBLIC.HIBERNATE_UNIQUE_KEY(NEXT_HI INTEGER)
CREATE MEMORY TABLE PUBLIC.ID_SEQUENCE(SEQUENCE_NAME VARCHAR(255),NEXT_VAL INTEGER)
CREATE MEMORY TABLE PUBLIC.PLUGIN_SETTING(NAMESPACE VARCHAR(255) NOT NULL,KEY_NAME VARCHAR(255) NOT NULL,KEY_VALUE CLOB(16M) NOT NULL,PRIMARY KEY(NAMESPACE,KEY_NAME))
CREATE MEMORY TABLE PUBLIC.PLUGIN_STATE(NAME VARCHAR(255) NOT NULL,ENABLED BOOLEAN NOT NULL,CONSTRAINT PK_PLUGIN_STATE PRIMARY KEY(NAME))
CREATE MEMORY TABLE PUBLIC.CHANGESET(ID VARCHAR(40) NOT NULL,AUTHOR_TIMESTAMP TIMESTAMP NOT NULL,CONSTRAINT PK_CHANGESET PRIMARY KEY(ID))
CREATE MEMORY TABLE PUBLIC.CS_ATTRIBUTE(CS_ID VARCHAR(40) NOT NULL,ATT_NAME VARCHAR(64) NOT NULL,ATT_VALUE VARCHAR(1024) NOT NULL,CONSTRAINT FK_CS_ATTRIBUTE_CHANGESET FOREIGN KEY(CS_ID) REFERENCES PUBLIC.CHANGESET(ID))
CREATE INDEX IDX_CS_TO_ATTRIBUTE ON PUBLIC.CS_ATTRIBUTE(CS_ID,ATT_NAME)
CREATE INDEX IDX_ATTRIBUTE_TO_CS ON PUBLIC.CS_ATTRIBUTE(ATT_NAME,ATT_VALUE)
CREATE MEMORY TABLE PUBLIC.CS_REPO_MEMBERSHIP(CS_ID VARCHAR(40) NOT NULL,REPOSITORY_ID INTEGER NOT NULL,CONSTRAINT PK_CS_REPO_MEMBERSHIP PRIMARY KEY(CS_ID,REPOSITORY_ID),CONSTRAINT FK_REPO_MEMBERSHIP_CHANGESET FOREIGN KEY(CS_ID) REFERENCES PUBLIC.CHANGESET(ID),CONSTRAINT FK_REPO_MEMBERSHIP_REPO FOREIGN KEY(REPOSITORY_ID) REFERENCES PUBLIC.REPOSITORY(ID))
CREATE INDEX IDX_CS_REPO_MEMBERSHIP_REPO_ID ON PUBLIC.CS_REPO_MEMBERSHIP(REPOSITORY_ID)
CREATE MEMORY TABLE PUBLIC.CS_INDEXER_STATE(INDEXER_ID VARCHAR(128) NOT NULL,REPOSITORY_ID INTEGER NOT NULL,LAST_RUN BIGINT,CONSTRAINT PK_CS_INDEXER_STATE PRIMARY KEY(REPOSITORY_ID,INDEXER_ID),CONSTRAINT FK_CS_INDEXER_STATE_REPOSITORY FOREIGN KEY(REPOSITORY_ID) REFERENCES PUBLIC.REPOSITORY(ID) ON DELETE CASCADE)
CREATE MEMORY TABLE PUBLIC.REPOSITORY_ACCESS(USER_ID INTEGER NOT NULL,REPOSITORY_ID INTEGER NOT NULL,LAST_ACCESSED BIGINT NOT NULL,CONSTRAINT PK_REPOSITORY_ACCESS PRIMARY KEY(USER_ID,REPOSITORY_ID),CONSTRAINT FK_REPOSITORY_ACCESS_USER FOREIGN KEY(USER_ID) REFERENCES PUBLIC.STASH_USER(ID),CONSTRAINT FK_REPOSITORY_ACCESS_REPO FOREIGN KEY(REPOSITORY_ID) REFERENCES PUBLIC.REPOSITORY(ID))
CREATE INDEX IDX_REPOSITORY_ACCESS_USER_ID ON PUBLIC.REPOSITORY_ACCESS(USER_ID)
CREATE MEMORY TABLE PUBLIC.STA_PERMISSION_TYPE(PERM_ID INTEGER NOT NULL,PERM_WEIGHT INTEGER NOT NULL,CONSTRAINT PK_WEIGHTED_PERMISSION PRIMARY KEY(PERM_ID),UNIQUE(PERM_WEIGHT))
CREATE MEMORY TABLE PUBLIC.STA_COMMENT(ID BIGINT NOT NULL,ENTITY_VERSION INTEGER NOT NULL,AUTHOR_ID INTEGER NOT NULL,CREATED_TIMESTAMP TIMESTAMP NOT NULL,UPDATED_TIMESTAMP TIMESTAMP NOT NULL,PARENT_ID BIGINT,ROOT_ID BIGINT,COMMENT_TEXT CLOB(16M) NOT NULL,CONSTRAINT PK_STA_COMMENT PRIMARY KEY(ID),CONSTRAINT FK_STA_COMMENT_AUTHOR FOREIGN KEY(AUTHOR_ID) REFERENCES PUBLIC.STASH_USER(ID),CONSTRAINT FK_STA_COMMENT_PARENT FOREIGN KEY(PARENT_ID) REFERENCES PUBLIC.STA_COMMENT(ID) ON DELETE CASCADE,CONSTRAINT FK_STA_COMMENT_ROOT FOREIGN KEY(ROOT_ID) REFERENCES PUBLIC.STA_COMMENT(ID) ON DELETE CASCADE)
CREATE INDEX IDX_STA_COMMENT_AUTHOR ON PUBLIC.STA_COMMENT(AUTHOR_ID)
CREATE INDEX IDX_STA_COMMENT_PARENT ON PUBLIC.STA_COMMENT(PARENT_ID)
CREATE INDEX IDX_STA_COMMENT_ROOT ON PUBLIC.STA_COMMENT(ROOT_ID)
CREATE MEMORY TABLE PUBLIC.STA_DIFF_COMMENT_ANCHOR(ID BIGINT NOT NULL,ENTITY_VERSION INTEGER NOT NULL,COMMENT_ID BIGINT NOT NULL,LINE_NUMBER INTEGER NOT NULL,LINE_TYPE INTEGER,TO_HASH VARCHAR(40) NOT NULL,TO_PATH VARCHAR(1024) NOT NULL,FROM_HASH VARCHAR(40),FROM_PATH VARCHAR(1024),ANCHOR_TYPE INTEGER NOT NULL,FILE_TYPE INTEGER,CONSTRAINT PK_STA_DIFF_COMMENT_ANCHOR PRIMARY KEY(ID),CONSTRAINT FK_STA_DIFF_COMMENT_COMMENT FOREIGN KEY(COMMENT_ID) REFERENCES PUBLIC.STA_COMMENT(ID) ON DELETE CASCADE)
CREATE INDEX IDX_STA_DIFF_COMMENT_COMMENT ON PUBLIC.STA_DIFF_COMMENT_ANCHOR(COMMENT_ID)
CREATE INDEX IDX_STA_DIFF_COMMENT_FROM_HASH ON PUBLIC.STA_DIFF_COMMENT_ANCHOR(FROM_HASH)
CREATE INDEX IDX_STA_DIFF_COMMENT_TO_HASH ON PUBLIC.STA_DIFF_COMMENT_ANCHOR(TO_HASH)
CREATE INDEX IDX_STA_DIFF_COMMENT_TO_PATH ON PUBLIC.STA_DIFF_COMMENT_ANCHOR(TO_PATH)
CREATE MEMORY TABLE PUBLIC.STA_ACTIVITY(ID BIGINT NOT NULL,ACTIVITY_TYPE INTEGER NOT NULL,CREATED_TIMESTAMP TIMESTAMP NOT NULL,USER_ID INTEGER NOT NULL,CONSTRAINT PK_STA_ACTIVITY PRIMARY KEY(ID),CONSTRAINT FK_STA_ACTIVITY_USER FOREIGN KEY(USER_ID) REFERENCES PUBLIC.STASH_USER(ID))
CREATE INDEX IDX_STA_ACTIVITY_TYPE ON PUBLIC.STA_ACTIVITY(ACTIVITY_TYPE)
CREATE INDEX IDX_STA_ACTIVITY_USER ON PUBLIC.STA_ACTIVITY(USER_ID)
CREATE MEMORY TABLE PUBLIC.STA_REPOSITORY_SCOPED_ID(REPOSITORY_ID INTEGER NOT NULL,SCOPE_TYPE VARCHAR(255) NOT NULL,NEXT_ID BIGINT NOT NULL,CONSTRAINT PK_STA_REPOSITORY_SCOPED_ID PRIMARY KEY(REPOSITORY_ID,SCOPE_TYPE),CONSTRAINT FK_STA_REPO_SCOPED_ID_REPO FOREIGN KEY(REPOSITORY_ID) REFERENCES PUBLIC.REPOSITORY(ID) ON DELETE CASCADE)
CREATE MEMORY TABLE PUBLIC.STA_PULL_REQUEST(ID BIGINT NOT NULL,ENTITY_VERSION INTEGER NOT NULL,SCOPED_ID BIGINT NOT NULL,PR_STATE INTEGER NOT NULL,CREATED_TIMESTAMP TIMESTAMP NOT NULL,UPDATED_TIMESTAMP TIMESTAMP NOT NULL,FROM_REPOSITORY_ID INTEGER NOT NULL,TO_REPOSITORY_ID INTEGER NOT NULL,FROM_BRANCH_FQN VARCHAR(1024) NOT NULL,TO_BRANCH_FQN VARCHAR(1024) NOT NULL,FROM_BRANCH_NAME VARCHAR(255) NOT NULL,TO_BRANCH_NAME VARCHAR(255) NOT NULL,FROM_HASH VARCHAR(40) NOT NULL,TO_HASH VARCHAR(40) NOT NULL,TITLE VARCHAR(255) NOT NULL,DESCRIPTION CLOB(16M),CONSTRAINT PK_STA_PULL_REQUEST PRIMARY KEY(ID),CONSTRAINT UQ_STA_PULL_REQUEST_SCOPED_ID UNIQUE(TO_REPOSITORY_ID,SCOPED_ID),CONSTRAINT FK_STA_PULL_REQUEST_FROM_REPO FOREIGN KEY(FROM_REPOSITORY_ID) REFERENCES PUBLIC.REPOSITORY(ID),CONSTRAINT FK_STA_PULL_REQUEST_TO_REPO FOREIGN KEY(TO_REPOSITORY_ID) REFERENCES PUBLIC.REPOSITORY(ID) ON DELETE CASCADE)
CREATE INDEX IDX_STA_PULL_REQUEST_STATE ON PUBLIC.STA_PULL_REQUEST(PR_STATE)
CREATE INDEX IDX_STA_PULL_REQUEST_FROM ON PUBLIC.STA_PULL_REQUEST(FROM_REPOSITORY_ID,FROM_BRANCH_FQN)
CREATE INDEX IDX_STA_PULL_REQUEST_TO ON PUBLIC.STA_PULL_REQUEST(TO_REPOSITORY_ID,TO_BRANCH_FQN)
CREATE MEMORY TABLE PUBLIC.STA_PR_ACTIVITY(ACTIVITY_ID BIGINT NOT NULL,PR_ID BIGINT NOT NULL,PR_ACTION INTEGER NOT NULL,CONSTRAINT PK_STA_PR_ACTIVITY PRIMARY KEY(ACTIVITY_ID),CONSTRAINT FK_STA_PR_ACTIVITY_ID FOREIGN KEY(ACTIVITY_ID) REFERENCES PUBLIC.STA_ACTIVITY(ID) ON DELETE CASCADE,CONSTRAINT FK_STA_PR_ACTIVITY_PR FOREIGN KEY(PR_ID) REFERENCES PUBLIC.STA_PULL_REQUEST(ID))
CREATE INDEX IDX_STA_PR_ACTIVITY ON PUBLIC.STA_PR_ACTIVITY(PR_ID,PR_ACTION)
CREATE MEMORY TABLE PUBLIC.STA_PR_COMMENT_ACTIVITY(ACTIVITY_ID BIGINT NOT NULL,COMMENT_ID BIGINT NOT NULL,COMMENT_ACTION INTEGER NOT NULL,ANCHOR_ID BIGINT,CONSTRAINT PK_STA_PR_COMMENT_ACTIVITY PRIMARY KEY(ACTIVITY_ID),CONSTRAINT FK_STA_PR_COM_ACT_ID FOREIGN KEY(ACTIVITY_ID) REFERENCES PUBLIC.STA_PR_ACTIVITY(ACTIVITY_ID) ON DELETE CASCADE,CONSTRAINT FK_STA_PR_COM_ACT_ANCHOR FOREIGN KEY(ANCHOR_ID) REFERENCES PUBLIC.STA_DIFF_COMMENT_ANCHOR(ID),CONSTRAINT FK_STA_PR_COM_ACT_COMMENT FOREIGN KEY(COMMENT_ID) REFERENCES PUBLIC.STA_COMMENT(ID))
CREATE INDEX IDX_ST_PR_COM_ACT_ANCHOR ON PUBLIC.STA_PR_COMMENT_ACTIVITY(ANCHOR_ID)
CREATE INDEX IDX_ST_PR_COM_ACT_COMMENT ON PUBLIC.STA_PR_COMMENT_ACTIVITY(COMMENT_ID)
CREATE MEMORY TABLE PUBLIC.STA_PR_PARTICIPANT(ID BIGINT NOT NULL,PR_ID BIGINT NOT NULL,PR_ROLE INTEGER NOT NULL,USER_ID INTEGER NOT NULL,PR_APPROVED BOOLEAN NOT NULL,CONSTRAINT PK_STA_PR_PARTICIPANT PRIMARY KEY(ID),CONSTRAINT FK_STA_PR_PARTICIPANT_PR FOREIGN KEY(PR_ID) REFERENCES PUBLIC.STA_PULL_REQUEST(ID) ON DELETE CASCADE,CONSTRAINT FK_STA_PR_PARTICIPANT_USER FOREIGN KEY(USER_ID) REFERENCES PUBLIC.STASH_USER(ID),CONSTRAINT UQ_STA_PR_PARTICIPANT_PR_USER UNIQUE(PR_ID,USER_ID))
CREATE INDEX IDX_STA_PR_PARTICIPANT_PR ON PUBLIC.STA_PR_PARTICIPANT(PR_ID)
CREATE INDEX IDX_STA_PR_PARTICIPANT_USER ON PUBLIC.STA_PR_PARTICIPANT(USER_ID)
CREATE MEMORY TABLE PUBLIC.STA_WATCHER(ID BIGINT NOT NULL,WATCHABLE_ID BIGINT NOT NULL,WATCHABLE_TYPE INTEGER NOT NULL,USER_ID INTEGER NOT NULL,CONSTRAINT PK_STA_WATCHER PRIMARY KEY(ID),CONSTRAINT UQ_STA_WATCHER UNIQUE(WATCHABLE_ID,WATCHABLE_TYPE,USER_ID),CONSTRAINT FK_STA_WATCHER_USER FOREIGN KEY(USER_ID) REFERENCES PUBLIC.STASH_USER(ID))
CREATE MEMORY TABLE PUBLIC.STA_PR_DIFF_COMMENT_ANCHOR(ANCHOR_ID BIGINT NOT NULL,PR_ID BIGINT NOT NULL,IS_ORPHANED BOOLEAN NOT NULL,CONSTRAINT PK_STA_PR_DIFF_COMMENT_ANCHOR PRIMARY KEY(ANCHOR_ID),CONSTRAINT FK_STA_PR_DIFF_COM_ANC_ID FOREIGN KEY(ANCHOR_ID) REFERENCES PUBLIC.STA_DIFF_COMMENT_ANCHOR(ID) ON DELETE CASCADE,CONSTRAINT FK_STA_PR_DIFF_COM_ANC_PR FOREIGN KEY(PR_ID) REFERENCES PUBLIC.STA_PULL_REQUEST(ID))
CREATE INDEX IDX_STA_PR_DIFF_COM_ANC_PR ON PUBLIC.STA_PR_DIFF_COMMENT_ANCHOR(PR_ID,IS_ORPHANED)
CREATE MEMORY TABLE PUBLIC.STA_PR_MERGE_ACTIVITY(ACTIVITY_ID BIGINT NOT NULL,HASH VARCHAR(40),CONSTRAINT PK_STA_PR_MERGE_ACTIVITY PRIMARY KEY(ACTIVITY_ID),CONSTRAINT FK_STA_PR_MRG_ACT_ID FOREIGN KEY(ACTIVITY_ID) REFERENCES PUBLIC.STA_PR_ACTIVITY(ACTIVITY_ID) ON DELETE CASCADE)
CREATE MEMORY TABLE PUBLIC.STA_PR_RESCOPE_ACTIVITY(ACTIVITY_ID BIGINT NOT NULL,FROM_HASH VARCHAR(40) NOT NULL,TO_HASH VARCHAR(40) NOT NULL,PREV_FROM_HASH VARCHAR(40) NOT NULL,PREV_TO_HASH VARCHAR(40) NOT NULL,COMMITS_ADDED INTEGER,COMMITS_REMOVED INTEGER,CONSTRAINT PK_STA_PR_RESCOPE_ACTIVITY PRIMARY KEY(ACTIVITY_ID),CONSTRAINT FK_STA_PR_RESCOPE_ACT_ID FOREIGN KEY(ACTIVITY_ID) REFERENCES PUBLIC.STA_PR_ACTIVITY(ACTIVITY_ID))
CREATE MEMORY TABLE PUBLIC.STA_DRIFT_REQUEST(ID BIGINT NOT NULL,PR_ID BIGINT NOT NULL,OLD_FROM_HASH VARCHAR(40) NOT NULL,OLD_TO_HASH VARCHAR(40) NOT NULL,NEW_FROM_HASH VARCHAR(40) NOT NULL,NEW_TO_HASH VARCHAR(40) NOT NULL,CONSTRAINT PK_STA_DRIFT_REQUEST PRIMARY KEY(ID),CONSTRAINT FK_STA_DRIFT_REQUEST_PR FOREIGN KEY(PR_ID) REFERENCES PUBLIC.STA_PULL_REQUEST(ID) ON DELETE CASCADE)
CREATE MEMORY TABLE PUBLIC.STA_PR_RESCOPE_REQUEST(ID BIGINT NOT NULL,REPO_ID INTEGER NOT NULL,BRANCH_FQN VARCHAR(1024),USER_ID INTEGER NOT NULL,CONSTRAINT PK_STA_PR_RESCOPE_REQUEST PRIMARY KEY(ID),CONSTRAINT FK_STA_PR_RESCOPE_REQ_REPO FOREIGN KEY(REPO_ID) REFERENCES PUBLIC.REPOSITORY(ID) ON DELETE CASCADE,CONSTRAINT FK_STA_PR_RESCOPE_REQ_USER FOREIGN KEY(USER_ID) REFERENCES PUBLIC.STASH_USER(ID) ON DELETE CASCADE)
CREATE MEMORY TABLE PUBLIC.STA_CONFIGURED_HOOK_STATUS(ID INTEGER NOT NULL,REPO_ID INTEGER,HOOKKEY VARCHAR(255) NOT NULL,ENABLED BOOLEAN NOT NULL,CONSTRAINT PK_STA_CONFIGURED_HOOK_STATUS PRIMARY KEY(ID),CONSTRAINT FK_REPOSITORY_HOOK_STATUS FOREIGN KEY(REPO_ID) REFERENCES PUBLIC.REPOSITORY(ID) ON DELETE CASCADE,CONSTRAINT UQ_STA_CONFIG_HOOK_STATUS_KEY UNIQUE(REPO_ID,HOOKKEY))
CREATE INDEX IDX_STA_CONFIG_HOOK_STATUS_PK ON PUBLIC.STA_CONFIGURED_HOOK_STATUS(REPO_ID,HOOKKEY,ENABLED)
CREATE MEMORY TABLE PUBLIC.STA_REPO_SETTINGS(ID BIGINT NOT NULL,REPO_ID INTEGER NOT NULL,SETTING_KEY VARCHAR(255) NOT NULL,SETTING_DATA CLOB(16M) NOT NULL,CONSTRAINT PK_STA_REPO_SETTINGS PRIMARY KEY(ID),CONSTRAINT FK_REPOSITORY_SETTINGS FOREIGN KEY(REPO_ID) REFERENCES PUBLIC.REPOSITORY(ID) ON DELETE CASCADE,CONSTRAINT UQ_STA_REPO_SETTINGS_KEY UNIQUE(REPO_ID,SETTING_KEY))
CREATE MEMORY TABLE PUBLIC.STA_GLOBAL_PERMISSION(ID BIGINT NOT NULL,PERM_ID INTEGER NOT NULL,GROUP_NAME VARCHAR(255),USER_ID INTEGER,CONSTRAINT PK_GLOBAL_PERMISSION PRIMARY KEY(ID),CONSTRAINT FK_GLOBAL_PERMISSION_USER FOREIGN KEY(USER_ID) REFERENCES PUBLIC.STASH_USER(ID),CONSTRAINT FK_GLOBAL_PERMISSION_TYPE FOREIGN KEY(PERM_ID) REFERENCES PUBLIC.STA_PERMISSION_TYPE(PERM_ID))
CREATE INDEX IDX_GLOBAL_PERMISSION_USER ON PUBLIC.STA_GLOBAL_PERMISSION(USER_ID)
CREATE INDEX IDX_GLOBAL_PERMISSION_GROUP ON PUBLIC.STA_GLOBAL_PERMISSION(GROUP_NAME)
CREATE MEMORY TABLE PUBLIC.STA_PROJECT_PERMISSION(ID BIGINT NOT NULL,PERM_ID INTEGER NOT NULL,PROJECT_ID INTEGER NOT NULL,GROUP_NAME VARCHAR(255),USER_ID INTEGER,CONSTRAINT PK_PROJECT_PERMISSION PRIMARY KEY(ID),CONSTRAINT FK_PROJECT_PERMISSION_USER FOREIGN KEY(USER_ID) REFERENCES PUBLIC.STASH_USER(ID),CONSTRAINT FK_PROJECT_PERMISSION_PROJECT FOREIGN KEY(PROJECT_ID) REFERENCES PUBLIC.PROJECT(ID) ON DELETE CASCADE,CONSTRAINT FK_PROJECT_PERMISSION_WEIGHT FOREIGN KEY(PERM_ID) REFERENCES PUBLIC.STA_PERMISSION_TYPE(PERM_ID))
CREATE INDEX IDX_PROJECT_PERMISSION_USER ON PUBLIC.STA_PROJECT_PERMISSION(USER_ID)
CREATE INDEX IDX_PROJECT_PERMISSION_GROUP ON PUBLIC.STA_PROJECT_PERMISSION(GROUP_NAME)
CREATE MEMORY TABLE PUBLIC.STA_REPO_PERMISSION(ID BIGINT NOT NULL,PERM_ID INTEGER NOT NULL,REPO_ID INTEGER NOT NULL,GROUP_NAME VARCHAR(255),USER_ID INTEGER,CONSTRAINT PK_REPO_PERMISSION PRIMARY KEY(ID),CONSTRAINT FK_REPO_PERMISSION_USER FOREIGN KEY(USER_ID) REFERENCES PUBLIC.STASH_USER(ID),CONSTRAINT FK_REPO_PERMISSION_REPO FOREIGN KEY(REPO_ID) REFERENCES PUBLIC.REPOSITORY(ID) ON DELETE CASCADE,CONSTRAINT FK_REPO_PERMISSION_WEIGHT FOREIGN KEY(PERM_ID) REFERENCES PUBLIC.STA_PERMISSION_TYPE(PERM_ID))
CREATE INDEX IDX_REPO_PERMISSION_USER ON PUBLIC.STA_REPO_PERMISSION(USER_ID)
CREATE INDEX IDX_REPO_PERMISSION_GROUP ON PUBLIC.STA_REPO_PERMISSION(GROUP_NAME)
CREATE MEMORY TABLE PUBLIC.STA_NORMAL_PROJECT(PROJECT_ID INTEGER NOT NULL,IS_PUBLIC BOOLEAN NOT NULL,CONSTRAINT PK_STA_NORMAL_PROJECT PRIMARY KEY(PROJECT_ID),CONSTRAINT FK_STA_NORMAL_PROJECT_ID FOREIGN KEY(PROJECT_ID) REFERENCES PUBLIC.PROJECT(ID) ON DELETE CASCADE)
CREATE MEMORY TABLE PUBLIC.STA_PERSONAL_PROJECT(PROJECT_ID INTEGER NOT NULL,OWNER_ID INTEGER NOT NULL,CONSTRAINT PK_STA_PERSONAL_PROJECT PRIMARY KEY(PROJECT_ID),CONSTRAINT UQ_STA_PERSONAL_PROJECT_OWNER UNIQUE(OWNER_ID),CONSTRAINT FK_STA_PERSONAL_PROJECT_ID FOREIGN KEY(PROJECT_ID) REFERENCES PUBLIC.PROJECT(ID) ON DELETE CASCADE,CONSTRAINT FK_STA_PERSONAL_PROJECT_OWNER FOREIGN KEY(OWNER_ID) REFERENCES PUBLIC.STASH_USER(ID))
CREATE MEMORY TABLE PUBLIC.STA_PR_RESCOPE_COMMIT(ACTIVITY_ID BIGINT NOT NULL,CHANGESET_ID VARCHAR(40) NOT NULL,ACTION INTEGER NOT NULL,CONSTRAINT PK_STA_PR_RESCOPE_COMMIT PRIMARY KEY(ACTIVITY_ID,CHANGESET_ID),CONSTRAINT FK_STA_PR_RESCOPE_CMMT_ACT FOREIGN KEY(ACTIVITY_ID) REFERENCES PUBLIC.STA_PR_RESCOPE_ACTIVITY(ACTIVITY_ID) ON DELETE CASCADE)
CREATE INDEX IDX_STA_PR_RESCOPE_CMMT_ACT ON PUBLIC.STA_PR_RESCOPE_COMMIT(ACTIVITY_ID)
CREATE MEMORY TABLE PUBLIC.STA_CMT_DISCUSSION(ID BIGINT NOT NULL,REPOSITORY_ID INTEGER NOT NULL,PARENT_COUNT INTEGER NOT NULL,COMMIT_ID VARCHAR(40) NOT NULL,PARENT_ID VARCHAR(40),CONSTRAINT PK_STA_CMT_DISCUSSION PRIMARY KEY(ID),CONSTRAINT UQ_STA_CMT_DISC_REPO_CMT UNIQUE(REPOSITORY_ID,COMMIT_ID),CONSTRAINT FK_STA_CMT_DISC_REPO FOREIGN KEY(REPOSITORY_ID) REFERENCES PUBLIC.REPOSITORY(ID) ON DELETE CASCADE)
CREATE INDEX IDX_STA_CMT_DISC_REPO ON PUBLIC.STA_CMT_DISCUSSION(REPOSITORY_ID)
CREATE INDEX IDX_STA_CMT_DISC_CMT ON PUBLIC.STA_CMT_DISCUSSION(COMMIT_ID)
CREATE MEMORY TABLE PUBLIC.STA_CMT_DISC_PARTICIPANT(ID BIGINT NOT NULL,DISCUSSION_ID BIGINT NOT NULL,USER_ID INTEGER NOT NULL,CONSTRAINT PK_STA_CMT_DISC_PARTICIPANT PRIMARY KEY(ID),CONSTRAINT FK_STA_CMT_DISC_PART_DISC FOREIGN KEY(DISCUSSION_ID) REFERENCES PUBLIC.STA_CMT_DISCUSSION(ID) ON DELETE CASCADE,CONSTRAINT FK_STA_CMT_DISC_PART_USER FOREIGN KEY(USER_ID) REFERENCES PUBLIC.STASH_USER(ID),CONSTRAINT UQ_STA_CMT_DISC_PART_DISC_USER UNIQUE(DISCUSSION_ID,USER_ID))
CREATE INDEX IDX_STA_CMT_DISC_PART_DISC ON PUBLIC.STA_CMT_DISC_PARTICIPANT(DISCUSSION_ID)
CREATE INDEX IDX_STA_CMT_DISC_PART_USER ON PUBLIC.STA_CMT_DISC_PARTICIPANT(USER_ID)
CREATE MEMORY TABLE PUBLIC.STA_REPO_ACTIVITY(ACTIVITY_ID BIGINT NOT NULL,REPOSITORY_ID INTEGER NOT NULL,CONSTRAINT PK_STA_REPO_ACTIVITY PRIMARY KEY(ACTIVITY_ID),CONSTRAINT FK_STA_REPO_ACTIVITY_ID FOREIGN KEY(ACTIVITY_ID) REFERENCES PUBLIC.STA_ACTIVITY(ID) ON DELETE CASCADE,CONSTRAINT FK_STA_REPO_ACTIVITY_REPO FOREIGN KEY(REPOSITORY_ID) REFERENCES PUBLIC.REPOSITORY(ID))
CREATE INDEX IDX_STA_REPO_ACTIVITY_REPO ON PUBLIC.STA_REPO_ACTIVITY(REPOSITORY_ID)
CREATE MEMORY TABLE PUBLIC.STA_CMT_DISC_ACTIVITY(ACTIVITY_ID BIGINT NOT NULL,DISCUSSION_ID BIGINT NOT NULL,CONSTRAINT PK_STA_CMT_DISC_ACTIVITY PRIMARY KEY(ACTIVITY_ID),CONSTRAINT FK_STA_CMT_DISC_ACT_ID FOREIGN KEY(ACTIVITY_ID) REFERENCES PUBLIC.STA_REPO_ACTIVITY(ACTIVITY_ID) ON DELETE CASCADE,CONSTRAINT FK_STA_CMT_DISC_ACT_DISC FOREIGN KEY(DISCUSSION_ID) REFERENCES PUBLIC.STA_CMT_DISCUSSION(ID))
CREATE INDEX IDX_STA_CMT_DISC_ACT_DISC ON PUBLIC.STA_CMT_DISC_ACTIVITY(DISCUSSION_ID)
CREATE MEMORY TABLE PUBLIC.STA_CMT_DISC_COMMENT_ACTIVITY(ACTIVITY_ID BIGINT NOT NULL,COMMENT_ID BIGINT NOT NULL,COMMENT_ACTION INTEGER NOT NULL,ANCHOR_ID BIGINT,CONSTRAINT PK_STA_CMT_DISC_COM_ACTIVITY PRIMARY KEY(ACTIVITY_ID),CONSTRAINT FK_STA_CMT_DISC_COM_ACT_ID FOREIGN KEY(ACTIVITY_ID) REFERENCES PUBLIC.STA_CMT_DISC_ACTIVITY(ACTIVITY_ID) ON DELETE CASCADE,CONSTRAINT FK_STA_CMT_DISC_COM_ACT_ANC FOREIGN KEY(ANCHOR_ID) REFERENCES PUBLIC.STA_DIFF_COMMENT_ANCHOR(ID),CONSTRAINT FK_STA_CMT_DISC_COM_ACT_COM FOREIGN KEY(COMMENT_ID) REFERENCES PUBLIC.STA_COMMENT(ID))
CREATE INDEX IDX_STA_CMT_DISC_COM_ACT_ANC ON PUBLIC.STA_CMT_DISC_COMMENT_ACTIVITY(ANCHOR_ID)
CREATE INDEX IDX_STA_CMT_DISC_COM_ACT_COM ON PUBLIC.STA_CMT_DISC_COMMENT_ACTIVITY(COMMENT_ID)
CREATE MEMORY TABLE PUBLIC.STA_CMT_DISC_COMMENT_ANCHOR(ANCHOR_ID BIGINT NOT NULL,DISCUSSION_ID BIGINT NOT NULL,CONSTRAINT PK_STA_CMT_DISC_COMMENT_ANCHOR PRIMARY KEY(ANCHOR_ID),CONSTRAINT FK_STA_CMT_DISC_COM_ANC_ID FOREIGN KEY(ANCHOR_ID) REFERENCES PUBLIC.STA_DIFF_COMMENT_ANCHOR(ID) ON DELETE CASCADE,CONSTRAINT FK_STA_CMT_DISC_COM_ANC_DISC FOREIGN KEY(DISCUSSION_ID) REFERENCES PUBLIC.STA_CMT_DISCUSSION(ID))
CREATE INDEX IDX_STA_CMT_COM_ANC_DISC ON PUBLIC.STA_CMT_DISC_COMMENT_ANCHOR(DISCUSSION_ID)
CREATE MEMORY TABLE PUBLIC.STA_REPO_PUSH_ACTIVITY(ACTIVITY_ID BIGINT NOT NULL,CONSTRAINT PK_STA_REPO_PUSH_ACTIVITY PRIMARY KEY(ACTIVITY_ID),CONSTRAINT FK_STA_REPO_PUSH_ACTIVITY_ID FOREIGN KEY(ACTIVITY_ID) REFERENCES PUBLIC.STA_REPO_ACTIVITY(ACTIVITY_ID) ON DELETE CASCADE)
CREATE MEMORY TABLE PUBLIC.STA_REPO_PUSH_REF(ACTIVITY_ID BIGINT NOT NULL,REF_ID VARCHAR(1024) NOT NULL,CHANGE_TYPE INTEGER NOT NULL,FROM_HASH VARCHAR(40) NOT NULL,TO_HASH VARCHAR(40) NOT NULL,CONSTRAINT PK_STA_REPO_PUSH_REF PRIMARY KEY(ACTIVITY_ID,REF_ID),CONSTRAINT FK_STA_REPO_PUSH_REF_ACT_ID FOREIGN KEY(ACTIVITY_ID) REFERENCES PUBLIC.STA_REPO_PUSH_ACTIVITY(ACTIVITY_ID) ON DELETE CASCADE)
CREATE INDEX IDX_STA_REPO_PUSH_REF_ACTIVITY ON PUBLIC.STA_REPO_PUSH_REF(ACTIVITY_ID)
CREATE MEMORY TABLE PUBLIC.STA_SERVICE_USER(USER_ID INTEGER NOT NULL,DISPLAY_NAME VARCHAR(255) NOT NULL,CONSTRAINT PK_STA_SERVICE_USER PRIMARY KEY(USER_ID),CONSTRAINT FK_STA_SERVICE_USER_ID FOREIGN KEY(USER_ID) REFERENCES PUBLIC.STASH_USER(ID) ON DELETE CASCADE)
CREATE MEMORY TABLE PUBLIC.STA_NORMAL_USER(USER_ID INTEGER NOT NULL,NAME VARCHAR(255) NOT NULL,SLUG VARCHAR(255) NOT NULL,LOCALE VARCHAR(32),CONSTRAINT PK_STA_NORMAL_USER PRIMARY KEY(USER_ID),CONSTRAINT UQ_NORMAL_USER_NAME UNIQUE(NAME),CONSTRAINT UQ_NORMAL_USER_SLUG UNIQUE(SLUG),CONSTRAINT FK_STA_NORMAL_USER_ID FOREIGN KEY(USER_ID) REFERENCES PUBLIC.STASH_USER(ID) ON DELETE CASCADE)
CREATE MEMORY TABLE PUBLIC.AO_BD73C3_PROJECT_AUDIT(ACTION VARCHAR(255) NOT NULL,AUDIT_ITEM_ID INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,"DATE" TIMESTAMP NOT NULL,DETAILS VARCHAR(767),PROJECT_ID INTEGER NOT NULL,"USER" INTEGER)
ALTER TABLE PUBLIC.AO_BD73C3_PROJECT_AUDIT ALTER COLUMN AUDIT_ITEM_ID RESTART WITH 1
CREATE INDEX INDEX_AO_BD73C3_PRO578890136 ON PUBLIC.AO_BD73C3_PROJECT_AUDIT(PROJECT_ID)
CREATE MEMORY TABLE PUBLIC.AO_BD73C3_REPOSITORY_AUDIT(ACTION VARCHAR(255) NOT NULL,AUDIT_ITEM_ID INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,"DATE" TIMESTAMP NOT NULL,DETAILS VARCHAR(767),REPOSITORY_ID INTEGER NOT NULL,"USER" INTEGER)
ALTER TABLE PUBLIC.AO_BD73C3_REPOSITORY_AUDIT ALTER COLUMN AUDIT_ITEM_ID RESTART WITH 1
CREATE INDEX INDEX_AO_BD73C3_REP1781875940 ON PUBLIC.AO_BD73C3_REPOSITORY_AUDIT(REPOSITORY_ID)
CREATE MEMORY TABLE PUBLIC.AO_CFE8FA_BUILD_STATUS(CSID VARCHAR(40) NOT NULL,DATE_ADDED TIMESTAMP NOT NULL,DESCRIPTION VARCHAR(255),ID INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,KEY VARCHAR(255) NOT NULL,NAME VARCHAR(255),STATE VARCHAR(255) NOT NULL,URL VARCHAR(500) NOT NULL)
ALTER TABLE PUBLIC.AO_CFE8FA_BUILD_STATUS ALTER COLUMN ID RESTART WITH 1
CREATE INDEX INDEX_AO_CFE8FA_BUI803074819 ON PUBLIC.AO_CFE8FA_BUILD_STATUS(CSID)
CREATE MEMORY TABLE PUBLIC.AO_A0B856_WEB_HOOK_LISTENER_AO(ENABLED BOOLEAN,EVENTS VARCHAR(16777216),ID INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,LAST_UPDATED TIMESTAMP NOT NULL,LAST_UPDATED_USER VARCHAR(255),NAME VARCHAR(16777216) NOT NULL,PARAMETERS VARCHAR(16777216),REGISTRATION_METHOD VARCHAR(255) NOT NULL,URL VARCHAR(16777216) NOT NULL)
ALTER TABLE PUBLIC.AO_A0B856_WEB_HOOK_LISTENER_AO ALTER COLUMN ID RESTART WITH 1
CREATE MEMORY TABLE PUBLIC.AO_FB71B4_SSH_PUBLIC_KEY(ENTITY_ID INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,KEY_MD5 VARCHAR(32) NOT NULL,KEY_TEXT VARCHAR(16777216) NOT NULL,LABEL VARCHAR(255),USER_ID INTEGER NOT NULL)
ALTER TABLE PUBLIC.AO_FB71B4_SSH_PUBLIC_KEY ALTER COLUMN ENTITY_ID RESTART WITH 1
CREATE INDEX INDEX_AO_FB71B4_SSH714567837 ON PUBLIC.AO_FB71B4_SSH_PUBLIC_KEY(USER_ID)
CREATE INDEX INDEX_AO_FB71B4_SSH1382560526 ON PUBLIC.AO_FB71B4_SSH_PUBLIC_KEY(KEY_MD5)
CREATE MEMORY TABLE PUBLIC.AO_6978BB_RESTRICTED_REF(REF_ID INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,REF_TYPE VARCHAR(255) NOT NULL,REF_VALUE VARCHAR(767) NOT NULL,REPOSITORY_ID INTEGER NOT NULL)
ALTER TABLE PUBLIC.AO_6978BB_RESTRICTED_REF ALTER COLUMN REF_ID RESTART WITH 1
CREATE INDEX INDEX_AO_6978BB_RES250715305 ON PUBLIC.AO_6978BB_RESTRICTED_REF(REPOSITORY_ID)
CREATE INDEX INDEX_AO_6978BB_RES847341420 ON PUBLIC.AO_6978BB_RESTRICTED_REF(REF_VALUE)
CREATE INDEX INDEX_AO_6978BB_RES2050912801 ON PUBLIC.AO_6978BB_RESTRICTED_REF(REF_TYPE)
CREATE MEMORY TABLE PUBLIC.AO_6978BB_PERMITTED_ENTITY(ENTITY_ID INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,FK_RESTRICTED_ID INTEGER NOT NULL,GROUP_ID VARCHAR(255),USER_ID INTEGER,CONSTRAINT FK_AO_6978BB_PERMITTED_ENTITY_FK_RESTRICTED_ID FOREIGN KEY(FK_RESTRICTED_ID) REFERENCES PUBLIC.AO_6978BB_RESTRICTED_REF(REF_ID))
ALTER TABLE PUBLIC.AO_6978BB_PERMITTED_ENTITY ALTER COLUMN ENTITY_ID RESTART WITH 1
CREATE INDEX INDEX_AO_6978BB_PER1013425949 ON PUBLIC.AO_6978BB_PERMITTED_ENTITY(FK_RESTRICTED_ID)
CREATE MEMORY TABLE PUBLIC.AO_02A6C0_SYNC_CONFIG(IS_ENABLED BOOLEAN NOT NULL,LAST_SYNC TIMESTAMP NOT NULL,REPOSITORY_ID INTEGER DEFAULT 0 NOT NULL PRIMARY KEY)
CREATE MEMORY TABLE PUBLIC.AO_02A6C0_REJECTED_REF(ID INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,REF_DISPLAY_ID VARCHAR(767) NOT NULL,REF_ID VARCHAR(767) NOT NULL,REF_STATUS INTEGER DEFAULT 0 NOT NULL,REPOSITORY_ID INTEGER DEFAULT 0 NOT NULL)
ALTER TABLE PUBLIC.AO_02A6C0_REJECTED_REF ALTER COLUMN ID RESTART WITH 1
CREATE INDEX INDEX_AO_02A6C0_REJ2030165690 ON PUBLIC.AO_02A6C0_REJECTED_REF(REPOSITORY_ID)
CREATE INDEX INDEX_AO_02A6C0_REJ1887153917 ON PUBLIC.AO_02A6C0_REJECTED_REF(REF_ID)
CREATE MEMORY TABLE PUBLIC.AO_777666_JIRA_INDEX(BRANCH VARCHAR(255) NOT NULL,ID BIGINT GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,ISSUE VARCHAR(255) NOT NULL,LAST_UPDATED TIMESTAMP NOT NULL,PR_ID BIGINT,PR_STATE VARCHAR(255),REPOSITORY INTEGER NOT NULL)
ALTER TABLE PUBLIC.AO_777666_JIRA_INDEX ALTER COLUMN ID RESTART WITH 1
CREATE INDEX INDEX_AO_777666_JIR1131965929 ON PUBLIC.AO_777666_JIRA_INDEX(ISSUE)
CREATE INDEX INDEX_AO_777666_JIR1850935500 ON PUBLIC.AO_777666_JIRA_INDEX(REPOSITORY)
CREATE MEMORY TABLE PUBLIC.AO_616D7B_BRANCH_MODEL(DEV_ID VARCHAR(767),DEV_USE_DEFAULT BOOLEAN NOT NULL,IS_ENABLED BOOLEAN NOT NULL,PROD_ID VARCHAR(767),PROD_USE_DEFAULT BOOLEAN NOT NULL,REPOSITORY_ID INTEGER NOT NULL PRIMARY KEY)
CREATE MEMORY TABLE PUBLIC.AO_616D7B_BRANCH_TYPE(FK_BM_ID INTEGER NOT NULL,ID INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,IS_ENABLED BOOLEAN NOT NULL,PREFIX VARCHAR(767),TYPE_ID VARCHAR(767),CONSTRAINT FK_AO_616D7B_BRANCH_TYPE_FK_BM_ID FOREIGN KEY(FK_BM_ID) REFERENCES PUBLIC.AO_616D7B_BRANCH_MODEL(REPOSITORY_ID))
ALTER TABLE PUBLIC.AO_616D7B_BRANCH_TYPE ALTER COLUMN ID RESTART WITH 1
CREATE INDEX INDEX_AO_616D7B_BRA995100348 ON PUBLIC.AO_616D7B_BRANCH_TYPE(FK_BM_ID)
CREATE MEMORY TABLE PUBLIC.AO_38321B_CUSTOM_CONTENT_LINK(CONTENT_KEY VARCHAR(255),ID INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,LINK_LABEL VARCHAR(255),LINK_URL VARCHAR(255),SEQUENCE INTEGER DEFAULT 0)
ALTER TABLE PUBLIC.AO_38321B_CUSTOM_CONTENT_LINK ALTER COLUMN ID RESTART WITH 1
CREATE INDEX INDEX_AO_38321B_CUS1828044926 ON PUBLIC.AO_38321B_CUSTOM_CONTENT_LINK(CONTENT_KEY)
ALTER SEQUENCE SYSTEM_LOBS.LOB_ID RESTART WITH 23
SET DATABASE DEFAULT INITIAL SCHEMA PUBLIC
GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.YES_OR_NO TO PUBLIC
GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.TIME_STAMP TO PUBLIC
GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.CARDINAL_NUMBER TO PUBLIC
GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.CHARACTER_DATA TO PUBLIC
GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.SQL_IDENTIFIER TO PUBLIC
GRANT DBA TO SA
SET SCHEMA SYSTEM_LOBS
INSERT INTO BLOCKS VALUES(0,1,0)
INSERT INTO BLOCKS VALUES(1,1,0)
INSERT INTO BLOCKS VALUES(2,1,0)
INSERT INTO BLOCKS VALUES(3,1,0)
INSERT INTO BLOCKS VALUES(4,1,0)
INSERT INTO BLOCKS VALUES(5,1,0)
INSERT INTO BLOCKS VALUES(6,1,0)
INSERT INTO BLOCKS VALUES(7,1,0)
INSERT INTO BLOCKS VALUES(8,1,0)
INSERT INTO BLOCKS VALUES(9,1,0)
INSERT INTO BLOCKS VALUES(10,1,0)
INSERT INTO BLOCKS VALUES(13,1,0)
INSERT INTO BLOCKS VALUES(14,1,0)
INSERT INTO BLOCKS VALUES(15,1,0)
INSERT INTO BLOCKS VALUES(16,1,0)
INSERT INTO BLOCKS VALUES(17,1,0)
INSERT INTO BLOCKS VALUES(18,1,0)
INSERT INTO BLOCKS VALUES(19,1,0)
INSERT INTO BLOCKS VALUES(20,1,0)
INSERT INTO BLOCKS VALUES(22,2147483625,0)
INSERT INTO LOBS VALUES(11,1,0,12)
INSERT INTO LOBS VALUES(12,1,0,13)
INSERT INTO LOBS VALUES(21,1,0,22)
INSERT INTO LOB_IDS VALUES(12,1,1,40)
INSERT INTO LOB_IDS VALUES(13,13,1,40)
INSERT INTO LOB_IDS VALUES(22,2696,1,40)
SET SCHEMA PUBLIC
INSERT INTO DATABASECHANGELOGLOCK VALUES(1,FALSE,NULL,NULL)
INSERT INTO DATABASECHANGELOG VALUES('CAV-1123-1','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/m15.xml','2014-04-15 21:17:05.034000',66,'EXECUTED','3:6ad6013537b5dd1d8b5b95318f3220e3','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('CAV-1123-2','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/m15.xml','2014-04-15 21:17:05.037000',67,'EXECUTED','3:308e94c33533b17b8215a8f715e8a810','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('CAV-1123-3','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/m15.xml','2014-04-15 21:17:05.040000',68,'EXECUTED','3:795c1b96cbf330ffcbd952463f3131c4','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('CAV-1123-4','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/m15.xml','2014-04-15 21:17:05.043000',69,'EXECUTED','3:b50193f77e40078d7bbcf37766dc48e7','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('CAV-1123-5','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/m15.xml','2014-04-15 21:17:05.056000',70,'EXECUTED','3:5613a42f125feb744fcdc8f5443e6530','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('CAV-1123-6','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/m15.xml','2014-04-15 21:17:05.060000',71,'EXECUTED','3:f51d401b67e773b3b62777c5926cbddc','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-1842-1','gcrain','liquibase/r1_0/m17.xml','2014-04-15 21:17:05.072000',72,'EXECUTED','3:d53e8617aad1b90d1611d7d5e0bca23d','Drop Column','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-2642-1','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.158000',357,'EXECUTED','3:702a3594ce10afaa3a2a1515227b90e9','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-2642-2','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.160000',358,'EXECUTED','3:ac2c89807f5c890f0bf9cbe58416fc0a','Add Foreign Key Constraint','Create a foreign key between push activities and their base repository activities, cascading deletion\u000a            to simplify deleting activities.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-2642-3','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.164000',359,'EXECUTED','3:a355c10724541bb8f8cfadbe0124294d','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-2642-4','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.167000',360,'EXECUTED','3:808316afeeaa3be0802ac251cc1e2f33','Add Primary Key','On all sensible databases, create a primary key between the activity ID and ref ID. No single push\u000a            should ever be able to update the same ref more than once.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-2642-5','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.169000',361,'EXECUTED','3:808432dd0996af506de7a4090eaff0d6','Create Index','Create an index on activity IDs to facilitate applying the foreign key to sta_repo_push_activity.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-2642-7','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.171000',362,'EXECUTED','3:168404538dc8a5ed31ca11479febae3f','Add Foreign Key Constraint','Create a foreign key between push activities and their base repository activities, cascading deletion\u000a            to simplify deleting activities.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-2642-8','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.173000',363,'EXECUTED','3:ce46664dfb842e87efe0e90a5434aab8','Update Data (x2)','Update id_sequence to make room for the change in allocation sizes for activities and rescope requests.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3195-1a','bturner','liquibase/r2_3/m01.xml','2014-04-15 21:17:05.834000',241,'EXECUTED','3:a462e24642b40eb0a6252de21a056f6c','Modify data type','Increase the repository name limit from 64 characters to 128.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3195-2a','bturner','liquibase/r2_3/m01.xml','2014-04-15 21:17:05.835000',242,'EXECUTED','3:463246bb564e550c23c91c30d38985ec','Modify data type','Increase the repository slug limit from 64 characters to 128, to match the new name limit.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3804-11','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:05.991000',301,'EXECUTED','3:8460053340521ec46efc316524a33fbc','Drop Column','Drop the cwd_directory.active column. The Hibernate mapping now expects is_active instead.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3804-16','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:06.007000',306,'EXECUTED','3:7f378502096d57cc199b2fe655912f06','Drop Column','Drop the cwd_app_dir_mapping.allow_all column. This Hibernate mapping now expects is_allow_all instead.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3804-20','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:06.016000',310,'EXECUTED','3:9e951b46b43c8d4d3cf273ba41e247b0','Drop Index','Drop the index on cwd_group.active so it can be recreated with new columns.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3804-21','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:06.019000',311,'EXECUTED','3:2561043878f33d48083f6d796ea02e6b','Drop Column','Drop the cwd_group.active column. The Hibernate mapping now expects is_active instead.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3804-25','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:06.029000',315,'EXECUTED','3:ae9edb7eeefee040a60de8a5c84b98ce','Drop Column','Drop the existing cwd_group.is_local column to make room for renaming the tmp_local column.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3804-31','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:06.042000',321,'EXECUTED','3:f82d475b96ec4cc73ca3ddaf4471c572','Drop Index','Drop the index on cwd_user.active so it can be recreated with new columns.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3804-32','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:06.045000',322,'EXECUTED','3:15b711fdd3dbb4b8c7533632fc4e67e3','Drop Column','Drop the cwd_user.active column. The Hibernate mapping now expects is_active instead.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3804-5','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:05.978000',295,'EXECUTED','3:28dd76d794b72abaffaf76b2dd1ac6fb','Drop Column','Drop the cwd_application.active column. The Hibernate mapping now expects is_active instead.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-1','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:05.970000',291,'EXECUTED','3:f4542fed73ac2dffb90f2f105bf7f5ff','Add Column','Add cwd_application.is_active column to replace the existing cwd_application.active column.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-10','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:05.988000',300,'EXECUTED','3:75531495fb3b0c43d436bd1538a2324d','Drop Index','Drop the existing IDX_DIR_ACTIVE index, prior to dropping the column. Some of the supported databases\u000a            do not handle this automatically.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-12','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:05.993000',302,'EXECUTED','3:f46f87d25df9be7cfeabfc25d16ac1ea','Create Index','Add index on cwd_directory.is_active, and fix its case while we''re at it.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-13','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:05.995000',303,'EXECUTED','3:3146aa338899e8057fbdb78eb1222936','Add Column','Add a cwd_app_dir_mapping.is_allow_all column to replace the existing cwd_app_dir_mapping.allow_all column.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-14','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:05.997000',304,'EXECUTED','3:423a161e7719bd86b332fb33554b5652','Update Data','Populate cwd_app_dir_mapping.is_allow_all from allow_all by trimming the trailing spaces.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-15','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:05.999000',305,'EXECUTED','3:3b0109dced27a7e620e7714796b4c40c','Add Not-Null Constraint','Add NOT NULL constraint on cwd_app_dir_mapping.is_allow_all.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-17','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:06.010000',307,'EXECUTED','3:b817f90ecaf289086e3278853e77904d','Add Column','Add cwd_group.is_active column to replace the existing cwd_group.active column.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-18','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:06.012000',308,'EXECUTED','3:4d2c147b2340cb8c5970bf1c7bbe5041','Update Data','Populate cwd_group.is_active from active by trimming the trailing spaces.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-19','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:06.014000',309,'EXECUTED','3:37df79e5934e9a398ce471121e94dc88','Add Not-Null Constraint','Add NOT NULL constraint on cwd_group.is_active.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-2','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:05.972000',292,'EXECUTED','3:8e1ede100ea7c2a7ba3e8bbe9a3a4c23','Update Data','Populate cwd_application.is_active from active by trimming the trailing spaces.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-22','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:06.021000',312,'EXECUTED','3:fef3ce7721d4cbefc48b5ae44a05401d','Create Index','Add index on cwd_group.is_active, and fix its case while we''re at it.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-23','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:06.024000',313,'EXECUTED','3:d34df85312ee73ef1c7456f01854cf45','Add Column','Add placeholder cwd_group.tmp_local column to replace is_local.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-24','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:06.026000',314,'EXECUTED','3:10b4ae863cb84bdf2f122e04409b4769','Update Data','Populate cwd_group.tmp_local from is_local by trimming the trailing spaces.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-26','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:06.031000',316,'EXECUTED','3:73225971d725f9ef5c48f47cad1bbc77','Rename Column','Rename cwd_group.tmp_local to is_local, effectively truncating the column from CHAR(255) to CHAR(1).',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-27','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:06.033000',317,'EXECUTED','3:e8b03872a8524282a36e4191109a478b','Add Not-Null Constraint','Re-add the NOT NULL constraint on cwd_group.is_local.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-28','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:06.036000',318,'EXECUTED','3:694b84cf30af11c0849e41de81187db4','Add Column','Add cwd_user.is_active column to replace the existing cwd_user.active column.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-29','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:06.038000',319,'EXECUTED','3:c8da654edd50c7e6f4856281fa25950e','Update Data','Populate cwd_user.is_active from cwd_user.active by trimming the trailing spaces.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-3','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:05.974000',293,'EXECUTED','3:1ecd1c958baac336c46e1b22dab1c405','Add Not-Null Constraint','Add NOT NULL constraint on cwd_application.is_active.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-30','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:06.040000',320,'EXECUTED','3:4e5272ad1e33b281468324cea72dc7e8','Add Not-Null Constraint','Add NOT NULL constraint on cwd_user.is_active.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-33','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:06.047000',323,'EXECUTED','3:d80669bb5908861ebcdead4c81381997','Create Index','Add index on cwd_user.is_active, and fix its case while we''re at it.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-4','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:05.975000',294,'EXECUTED','3:d86b3277638352655e00c1d84f8d5217','Drop Index','Drop the existing IDX_APP_ACTIVE index, prior to dropping the column. Some of the supported databases\u000a            do not handle this automatically.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-6','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:05.980000',296,'EXECUTED','3:524033727c5805655bbd999488603ce2','Create Index','Add index on cwd_application.is_active, and fix its case while we''re at it.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-7','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:05.983000',297,'EXECUTED','3:986005ebfa8a5b232b70247a3e5652da','Add Column','Add cwd_directory.is_active column to replace the existing cwd_directory.active column.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-8','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:05.985000',298,'EXECUTED','3:8498f99c6bf66ade1495a7878c83e44d','Update Data','Populate cwd_directory.is_active from active by trimming the trailing spaces.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASH-3884-9','bturner','liquibase/r2_7/p01.xml','2014-04-15 21:17:05.986000',299,'EXECUTED','3:2ad933bc8fc0616d874f77219f7f1525','Add Not-Null Constraint','Add NOT NULL constraint on cwd_directory.is_active.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-1','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.219000',102,'EXECUTED','3:91ec647d777a6961d024c5044f52a338','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-10','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.335000',114,'EXECUTED','3:f75ee66eda4383c0411ea0cdad0c5567','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-11','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.338000',115,'EXECUTED','3:da96a64f058160fb995d9b84765d5b83','Add Foreign Key Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-12','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.343000',116,'EXECUTED','3:52d5798b64a158dcfb4931f2f9cc23a3','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-13','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.346000',117,'EXECUTED','3:ada498205ca27119bc2cf9e3d42cdfcf','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-14','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.348000',118,'EXECUTED','3:d86446a867bc3474fff1637ca6415041','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-16','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.370000',123,'EXECUTED','3:988acbbb867c2469537de734d4a960dd','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-17','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.377000',125,'EXECUTED','3:80b7e67bd29be93adb0a83f680b9bb5e','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-18','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.379000',126,'EXECUTED','3:95e76da29e2d2ae7b3e154a2162be19e','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-19','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.382000',127,'EXECUTED','3:eac12eb803d90d9d164246acbe6ece2b','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-2','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.222000',103,'EXECUTED','3:8bd8c6003b058fcaf6effd03bf38e1c4','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-20','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.396000',130,'EXECUTED','3:faad56bf6ac147ecd512d5d4c0ed253e','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-21','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.398000',131,'EXECUTED','3:094d5364f226ba20f2142e3858ae6284','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-22','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.402000',132,'EXECUTED','3:9377e3c87b4e0ea3259ea33f1428f366','Add Foreign Key Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-23','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.410000',133,'EXECUTED','3:d335ca727d344af94c814079ef121c7a','Add Foreign Key Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-24','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.415000',134,'EXECUTED','3:c29ec55a9f3e05facaad6b578c611b21','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-25','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.417000',135,'EXECUTED','3:50384125bca92e6a4cbe8f6971881611','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-26','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.419000',136,'EXECUTED','3:7d5fb290cb7de298e8a6e965baff90eb','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-27','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.421000',137,'EXECUTED','3:16016f8285c5750df495f6b82f573f74','Add Foreign Key Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-29','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.429000',140,'EXECUTED','3:d98077d81da30a8d7283661e4e318255','Add Foreign Key Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-3','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.224000',104,'EXECUTED','3:b1cceb5ac854e4d43988fb9986c881c4','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-30','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.433000',141,'EXECUTED','3:0cd826080924a7c1aeb58907647761b0','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-31','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.442000',142,'EXECUTED','3:5e06b96802b4a30a6fa2c7b68c00a57a','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-32','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.444000',143,'EXECUTED','3:ec8f02c8d93d6d8f9724d06e165715e4','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-33','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.447000',144,'EXECUTED','3:95c3308e765a4ef1da3e7fe02a96f5fd','Add Foreign Key Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-35','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.455000',147,'EXECUTED','3:9eefd69778e652f30bf4a206548eb346','Add Unique Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-4','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.226000',105,'EXECUTED','3:83005efe633943eabf8ff5b32bbb2e1f','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-8','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.327000',112,'EXECUTED','3:6b7bb08abe83d63f2e9de8c76f12a22e','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1023-9','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.329000',113,'EXECUTED','3:9d83bb3346c0dd73525429bc6946f623','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1042-01','jhinch','liquibase/r1_2/m01.xml','2014-04-15 21:17:05.124000',80,'EXECUTED','3:c3522ba04ae1c261764020b374ac3062','Add Column','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1042-02','jhinch','liquibase/r1_2/m01.xml','2014-04-15 21:17:05.129000',81,'EXECUTED','3:c7d19413bf5be63196ecc2fc4565fd16','Custom Change','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1042-03','jhinch','liquibase/r1_2/m01.xml','2014-04-15 21:17:05.136000',82,'EXECUTED','3:50184e8c341f38dcdd6f9ca700bfe571','Drop Column','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1042-04','jhinch','liquibase/r1_2/m01.xml','2014-04-15 21:17:05.139000',83,'EXECUTED','3:6e95c484d33ec37c3562894e70c0cebd','Add Not-Null Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1042-05','jhinch','liquibase/r1_2/m01.xml','2014-04-15 21:17:05.142000',84,'EXECUTED','3:4bc65adb841cc9e4f44fbe892af4ea83','Add Column','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1042-06','jhinch','liquibase/r1_2/m01.xml','2014-04-15 21:17:05.145000',85,'EXECUTED','3:b40d6151af6a559776878178c8b8b314','Custom Change','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1042-07','jhinch','liquibase/r1_2/m01.xml','2014-04-15 21:17:05.148000',86,'EXECUTED','3:12ae27e05fe78c2151c8b4f9042acd6a','Drop Column','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1042-08','jhinch','liquibase/r1_2/m01.xml','2014-04-15 21:17:05.150000',87,'EXECUTED','3:84fdfe2eed04220ce2d1e1ea160638d4','Add Not-Null Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1042-09','jhinch','liquibase/r1_2/m01.xml','2014-04-15 21:17:05.156000',88,'EXECUTED','3:b58fc7503acca048776c409ab3dae1da','Add Column','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1042-10','jhinch','liquibase/r1_2/m01.xml','2014-04-15 21:17:05.166000',89,'EXECUTED','3:1766465f1f4285428704e942952da82b','Custom Change','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1042-11','jhinch','liquibase/r1_2/m01.xml','2014-04-15 21:17:05.179000',90,'EXECUTED','3:6ca7511cadfd4a578296179aef042cda','Drop Column','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1042-12','jhinch','liquibase/r1_2/m01.xml','2014-04-15 21:17:05.182000',91,'EXECUTED','3:ffde71ede1c0925bf608e5501a63ea74','Add Not-Null Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1201-1','bturner','liquibase/r1_3/m02.xml','2014-04-15 21:17:05.502000',161,'EXECUTED','3:aa6145a20f2be0199c865283bb7e30bb','Add Column','Add a new CLOB column to sta_pull_request to replace the previous description column.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1201-2','bturner','liquibase/r1_3/m02.xml','2014-04-15 21:17:05.505000',162,'EXECUTED','3:8c59bff86f1d61a9719af9bfcb589f8d','Update Data','Copy the VARCHAR description into the CLOB pr_description. Note that, in Postgres, this will store the text\u000a            directly in the column, which is the correct usage to support Unicode encodings.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1201-3','bturner','liquibase/r1_3/m02.xml','2014-04-15 21:17:05.508000',163,'EXECUTED','3:36711e28aa58cf8c0722aa64db387bdd','Drop Column','Drop the old VARCHAR(255) description column.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1201-4','bturner','liquibase/r1_3/m02.xml','2014-04-15 21:17:05.511000',164,'EXECUTED','3:3f8a82358fa24ff11d8bec2d946c864a','Rename Column','Rename the pr_description column to description. Note that, to correctly support MySQL, the data type\u000a            set here is MySQL-specific. That property is ignored for all other RDBMSs.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1205-1','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.357000',121,'EXECUTED','3:322906ec8cb283989dc8c2b7a3023e9c','Create Table','Sequence generation table for creating IDs that are scoped by a repository. Multiple scope types may exist\u000a            for each repository, and each scope will get its own sequence of IDs, starting from 1.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1205-2','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.359000',122,'EXECUTED','3:93cf6bb31c720ee37a2dc63ceb9b570d','Add Foreign Key Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1205-3','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.375000',124,'EXECUTED','3:beeaf3b5e3c47422473ed7fbd69a9cce','Add Unique Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1205-4','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.389000',128,'EXECUTED','3:2ecc93ec9ba382f22e293bbed6e08bc4','Add Foreign Key Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1205-5','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.392000',129,'EXECUTED','3:9df3cb53617c2ba44dc9f2f52b9fb816','Add Foreign Key Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1325-1','bturner','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.535000',172,'EXECUTED','3:9e021a9d5ec16ec7242d6ceeefd89457','Drop Index','This index prioritised the to_path above the from_hash. Actual usage of the index suggests searching by\u000a            to_hash, from_hash and then path will be more efficient, because from_hash is always provided but to_path\u000a            may not be (when l...',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1325-10','bturner','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.563000',181,'EXECUTED','3:5780883bb741470e305071ce8f226e27','Add Foreign Key Constraint','Add a foreign key back to the InternalDiffCommentAnchor that is the base class.\u000a\u000a            Note: It''s safe to cascade this deletion because if the parent row in sta_diff_comment anchor is being\u000a            deleted we want to remove any children rows ...',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1325-11','bturner','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.566000',182,'EXECUTED','3:cab5d30c3daafa31f473ff43be3a11ab','Add Foreign Key Constraint','Add a foreign key to the pull request the InternalPullRequestDiffCommentAnchor belongs to.\u000a\u000a            Note: Because this table is a "child" of sta_diff_comment_anchor, this foreign key cannot\u000a            cascade deletions; it would leave orphaned row...',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1325-12a','bturner','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.568000',183,'EXECUTED','3:f5f7368625dbe49a818e133c638be0bf','Custom SQL','Join between the sta_pr_activity and sta_pr_comment_activity table to populate sta_pr_diff_comment_anchor\u000a            for all existing anchors. This version is for DBMSs which use a numeric column to for booleans.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1325-13','bturner','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.572000',184,'EXECUTED','3:0bb5d9e9835075b858cc4230b3bccefb','Drop Foreign Key Constraint','Drop the previous foreign key constraint between sta_pr_activity and sta_pull_request. It was created\u000a            with ON DELETE CASCADE, but that is not valid for "child" tables. If the pull request is deleted, it\u000a            will leave phantom rows i...',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1325-14','bturner','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.575000',185,'EXECUTED','3:3903c55d220b7cc5d8607eeb7ab031df','Add Foreign Key Constraint','Recreate the fk_sta_pr_activity_pr foreign key without an ON DELETE CASCADE clause.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1325-15','bturner','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.578000',186,'EXECUTED','3:7f8773392a6ed2f615eae672c9e69b50','Drop Foreign Key Constraint','Drop the previous foreign key constraint between sta_pr_comment_activity and sta_comment. It was created\u000a            with ON DELETE CASCADE, but that is not valid for "child" tables. If the comment is deleted it will leave\u000a            phantom rows in s...',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1325-16','bturner','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.581000',187,'EXECUTED','3:a12231ef0e55fd91e7beabf14bb9f978','Add Foreign Key Constraint','Recreate the fk_sta_pr_com_act_comment foreign key without an ON DELETE CASCADE clause.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1325-2','bturner','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.538000',173,'EXECUTED','3:56fc7c3828b33a04fa9c57209ce114b3','Create Index','Create a single-column index on the from_hash.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1325-3','bturner','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.540000',174,'EXECUTED','3:fe9038fb27ff4db43b600c39922ecd27','Create Index','Create a single-column index on the to_hash.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1325-4','bturner','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.543000',175,'EXECUTED','3:63e6b9f184f06a402c24da170595f66e','Create Index','Create a single-column index on the to_path.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1325-5','bturner','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.547000',176,'EXECUTED','3:23a7ea54bcb09cdc8f2217191526770b','Add Column','Add a discriminator column, allowing subclasses of an InternalDiffCommentAnchor.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1325-6','bturner','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.551000',177,'EXECUTED','3:bce4cf52accf26c92a40a66eaa4d8ea7','Update Data','Set the discriminator to 1, the value for a simple InternalDiffCommentAnchor, for every existing row.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1325-7','bturner','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.553000',178,'EXECUTED','3:e1396d9dfffef49e6b6f6d818d02dec7','Add Not-Null Constraint','Set the NOT NULL constraint on the anchor_type.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1325-8','bturner','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.557000',179,'EXECUTED','3:dda79f51ce0850f9b8c06762ab5701e8','Create Table','Create the table for the InternalPullRequestDiffCommentAnchor, a joined subtype of InternalDiffCommentAnchor\u000a            which adds in a reference to the pull request.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1325-9','bturner','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.560000',180,'EXECUTED','3:912bd02dc50f4a2b388000c93feb1c97','Create Index','Index InternalPullRequestDiffCommentAnchors by the pull request they belong to, and tag the orphaned flag\u000a            into the index as well since it will be used while calculating comment drift.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1392-1','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.457000',148,'EXECUTED','3:9ec89668d5128e8e5ab6e11abb34a0b5','Drop Foreign Key Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1392-2','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.460000',149,'EXECUTED','3:ea320d21d65b9f518de8fcf020bb2b5a','Add Foreign Key Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1392-3','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.463000',150,'EXECUTED','3:b0c9ef3715f2d6026c1252c084e7d7eb','Drop Foreign Key Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1392-5','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.472000',153,'EXECUTED','3:719c7545078781d64d00e68f4fcb99e0','Drop Foreign Key Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1392-6','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.475000',154,'EXECUTED','3:f992b71d41311e72bc73f6dd8684317e','Add Foreign Key Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1392-7','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.477000',155,'EXECUTED','3:d283449be55baf3cbf58a9badb28da9c','Rename Column','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1392-8','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.481000',156,'EXECUTED','3:2727d25fb03eb91fa8564f92e3ff43a9','Add Column','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1455-1','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.484000',157,'EXECUTED','3:ccec8a564947ace757c55189aaad939d','Add Column','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1455-2','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.487000',158,'EXECUTED','3:29056a3eb962259ef550fb9dbd7f95c0','Update Data','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1455-3','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.489000',159,'EXECUTED','3:a7c320189fc9509dca422449dc760d78','Add Not-Null Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1455-4','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.492000',160,'EXECUTED','3:c86e2a802ccf066fa12a942dba01ac50','Drop Column','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1651-1','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.313000',108,'MARK_RAN','3:40cd3c0626a7ea7efae0311f9f98f420','Drop Foreign Key Constraint','If fk_sta_comment_parent was created by a previous incarnation of this changelog, drop it so it can be\u000a            recreated correctly.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1651-10','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.426000',139,'EXECUTED','3:087c504033976358d2efb84a7cc4eddf','Add Foreign Key Constraint','Create a foreign key between comment activities and their comment anchor, if one is set. Note that this\u000a            foreign key does not cascade deletions as it is expected anchors will never be deleted without deleting\u000a            their attached comme...',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1651-11','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.449000',145,'MARK_RAN','3:97d14b9106d58a4a4337bbf0fa5719fe','Drop Foreign Key Constraint','If fk_sta_pr_participant_user was created by a previous incarnation of this changelog, drop it so it can be\u000a            recreated correctly.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1651-12','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.452000',146,'EXECUTED','3:e67c553266bb607da08d4bd452c35c46','Add Foreign Key Constraint','Create a foreign key between participants and their user. Note that this foreign key does not cascade\u000a            deletions as it is expected that Stash users will never be deleted.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1651-13','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.465000',151,'MARK_RAN','3:b0c9ef3715f2d6026c1252c084e7d7eb','Drop Foreign Key Constraint','If fk_sta_pull_request_from_repo was created by a previous incarnation of this changelog, drop it so it can\u000a            be recreated correctly.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1651-14','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.468000',152,'EXECUTED','3:2ecc93ec9ba382f22e293bbed6e08bc4','Add Foreign Key Constraint','Create a foreign key between pull requests and the repository they originate from. Note that this foreign\u000a            key does not cascade deletions as, currently, the from and to repositories will always be the same. When\u000a            this changes, del...',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1651-2','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.316000',109,'EXECUTED','3:9c798bf074a57825ca85ecaa9f4e7870','Add Foreign Key Constraint','Create a foreign key between replies and their parent comment. Note that this foreign key does not cascade\u000a            deletions; such cascades must be handled in code.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1651-3','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.318000',110,'MARK_RAN','3:efb13826bb8f7935f6979314a98458f2','Drop Foreign Key Constraint','If fk_sta_comment_root was created by a previous incarnation of this changelog, drop it so it can be\u000a            recreated correctly.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1651-4','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.321000',111,'EXECUTED','3:5a4f6f2022fcbbcf0e27a1e02e57c396','Add Foreign Key Constraint','Create a foreign key between replies and their root comment, where a root comment is the top-level comment\u000a            in a thread. Note that this foreign key does not cascade deletions; such cascades must be handled in code.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1651-5','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.228000',106,'MARK_RAN','3:5c48164e17bd5a0ae40574623e68d216','Drop Foreign Key Constraint','If fk_sta_comment_author was created by a previous incarnation of this changelog, drop it so it can be\u000a            recreated correctly.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1651-6','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.310000',107,'EXECUTED','3:9e870fbdeba5884528578e6326e9a585','Add Foreign Key Constraint','Create a foreign key between comments and their authors. Note that this foreign key does not cascade\u000a            deletions as it is expected that Stash users will never be deleted.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1651-7','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.350000',119,'MARK_RAN','3:5329ac247e849b6fd2edd99b5b535abc','Drop Foreign Key Constraint','If fk_sta_activity_user was created by a previous incarnation of this changelog, drop it so it can be\u000a            recreated correctly.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1651-8','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.353000',120,'EXECUTED','3:6857e26a44834157c6fdfaa2f2898c64','Add Foreign Key Constraint','Create a foreign key between activities and their user. Note that this foreign key does not cascade\u000a            deletions as it is expected that Stash users will never be deleted.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1651-9','bturner','liquibase/r1_3/m01.xml','2014-04-15 21:17:05.423000',138,'MARK_RAN','3:ffb926280bd23c80aac56362be02945c','Drop Foreign Key Constraint','If fk_sta_pr_com_act_anchor was created by a previous incarnation of this changelog, drop it so it can be\u000a            recreated correctly.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1674-1','bturner','liquibase/r1_3/m05.xml','2014-04-15 21:17:05.617000',194,'EXECUTED','3:38d18e0360577ef197b7c3ba80f7e29b','Create Table','Create the table for the InternalPullRequestRescopeActivity, a joined subtype of InternalPullRequestActivity\u000a            which stores the current and previous from and to hashes for the pull request.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1674-2','bturner','liquibase/r1_3/m05.xml','2014-04-15 21:17:05.619000',195,'EXECUTED','3:2dc132a2b21e853cbfc35809499b56e2','Add Foreign Key Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1690-1','dpinn','liquibase/r1_3/m02.xml','2014-04-15 21:17:05.515000',165,'EXECUTED','3:1c7086cbc8157e7770153ca8cfbd4c25','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1690-2','tpettersen','liquibase/r1_3/m02.xml','2014-04-15 21:17:05.518000',166,'EXECUTED','3:3bfefdbe7480386dcfa235f4d114c0d6','Add Unique Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1690-3','dpinn','liquibase/r1_3/m02.xml','2014-04-15 21:17:05.521000',167,'EXECUTED','3:3a34fa0dd841702ffaab54348657ca8f','Add Foreign Key Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1697-1','mstudman','liquibase/r1_3/m03.xml','2014-04-15 21:17:05.524000',168,'EXECUTED','3:213befbad5065170d7cee252ef10ce20','Add Column','Add a new column to sta_pr_participant to record whether the participant has approved the pull request',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1697-2','mstudman','liquibase/r1_3/m03.xml','2014-04-15 21:17:05.526000',169,'EXECUTED','3:63c03bd9938c101be5312f4ef00f5bbb','Add Not-Null Constraint','Add not null constraint on sta_pr_participant.pr_approved',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1700-1','mheemskerk','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.597000',188,'EXECUTED','3:40cd3c0626a7ea7efae0311f9f98f420','Drop Foreign Key Constraint','Drop the self referential foreign key constraint on sta_comment for the parent_id column, so we can recreate\u000a            it with onDelete=cascade. The constraint causes problems when comments are bulk deleted on in MySQL. MySQL\u000a            applies the ...',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1700-2','mheemskerk','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.600000',189,'EXECUTED','3:efb13826bb8f7935f6979314a98458f2','Drop Foreign Key Constraint','Drop the self referential foreign key constraint on sta_comment for the root_id column, so we can recreate\u000a            it with onDelete=cascade. The constraint causes problems when comments are bulk deleted on in MySQL. MySQL\u000a            applies the fo...',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1700-3','mheemskerk','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.604000',190,'EXECUTED','3:ad63271d32403c259dc159f2f81720bf','Add Foreign Key Constraint','Recreate the self referential foreign key constraint on sta_comment for the parent_id column with\u000a            it with onDelete=cascade. Unfortunately, self-referential cascading deletes are not supported for MSSQL.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1700-4','mheemskerk','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.607000',191,'EXECUTED','3:0159ec7b6f31b937a04af0e56a9c01ee','Add Foreign Key Constraint','Recreate the self referential foreign key constraint on sta_comment for the root_id column with\u000a            it with onDelete=cascade. Unfortunately, self-referential cascading deletes are not supported for MSSQL.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1739-1','pepoirot','liquibase/r1_3/m03.xml','2014-04-15 21:17:05.528000',170,'EXECUTED','3:9d3b45ac0cf1c32134afa3fe6ac9201a','Drop Foreign Key Constraint','Removes the foreign key relationship from trusted_app_restriction to trusted_app, to be able\u000a            to recreate it and enable deletion cascading.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1739-2','pepoirot','liquibase/r1_3/m03.xml','2014-04-15 21:17:05.531000',171,'EXECUTED','3:9c5d092f0122dd951ad2d14d26c5cdcc','Add Foreign Key Constraint','Enables deletion cascading, so that deleting a trusted application also removes the associated\u000a            restrictions.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1771-1','mstudman','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.610000',192,'EXECUTED','3:81903a6c195008ce61227bb254899a39','Create Table','Create the table for the InternalPullRequestMergeActivity, a joined subtype of InternalPullRequestActivity\u000a            which adds the possibly null hash which merged the pull request.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1771-2','mstudman','liquibase/r1_3/m04.xml','2014-04-15 21:17:05.612000',193,'EXECUTED','3:ba602876635bdfb2e2d25e4b49f4a572','Add Foreign Key Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1918-1','bturner','liquibase/r1_3/m08.xml','2014-04-15 21:17:05.621000',196,'EXECUTED','3:d654ada372bb6ceb5044c5e0fe47fc1c','Drop Index','Drop the previous from repository index so we can recreate it including the branch FQN.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1918-2','bturner','liquibase/r1_3/m08.xml','2014-04-15 21:17:05.623000',197,'EXECUTED','3:392d761582c554b4eef2ea6f560634e1','Drop Index','Drop the previous to repository index so we can recreate it including the branch FQN.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1918-3','bturner','liquibase/r1_3/m08.xml','2014-04-15 21:17:05.625000',198,'EXECUTED','3:8496f064eada60185cd89abe7adbf691','Create Index','Create a composite index on the from repository''s ID and fully-qualified branch name.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-1918-4','bturner','liquibase/r1_3/m08.xml','2014-04-15 21:17:05.627000',199,'EXECUTED','3:a12d9f631da8509c38fcb4c400bbe6a9','Create Index','Create a composite index on the to repository''s ID and fully-qualified branch name.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-2061-1','bturner','liquibase/r2_0/m01.xml','2014-04-15 21:17:05.645000',205,'EXECUTED','3:b829d4528fc157befb8e5e64b481d4fa','Modify data type','Modify plugin_state.enabled from BOOLEAN to BOOLEAN again, to apply changes to the CustomHsqlTypeConverter\u000a            (Changes from BIT to BOOLEAN type).',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-2061-2','bturner','liquibase/r2_0/m01.xml','2014-04-15 21:17:05.647000',206,'EXECUTED','3:bbd33347543cd3bfcff946de7f827c8f','Modify data type','Modify sta_pr_participant.pr_approved from BOOLEAN to BOOLEAN again, to apply changes to the\u000a            CustomHsqlTypeConverter (Changes from BIT to BOOLEAN type).',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-2061-3','bturner','liquibase/r2_0/m01.xml','2014-04-15 21:17:05.649000',207,'EXECUTED','3:27287006f499b057740f3c03b6133a3f','Modify data type','Modify sta_pr_diff_comment_anchor.is_orphaned from BOOLEAN to BOOLEAN again, to apply changes to the\u000a            CustomHsqlTypeConverter (Changes from BIT to BOOLEAN type).',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-2081-1','mheemskerk','liquibase/r1_3/m08.xml','2014-04-15 21:17:05.632000',200,'EXECUTED','3:ddb4961ec16ffd8055620094ad59066a','Create Table','Create a table to store the comment drift requests in the database so they survive\u000a            server restarts.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-2081-2','mheemskerk','liquibase/r1_3/m08.xml','2014-04-15 21:17:05.635000',201,'EXECUTED','3:c014130608d572ecd905401df030bc4a','Add Foreign Key Constraint','Create foreign key constraint from sta_drift_request.pr_id --> sta_pull_request.id',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-2081-3','mheemskerk','liquibase/r1_3/m08.xml','2014-04-15 21:17:05.639000',202,'EXECUTED','3:5c26b5e679da3b5cb0299c8ec37fe635','Create Table','Create a table to store the pull request rescope requests in the database so they survive\u000a            server restarts.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-2081-4','mheemskerk','liquibase/r1_3/m08.xml','2014-04-15 21:17:05.641000',203,'EXECUTED','3:9620191a9f68bdb2ea45877093294085','Add Foreign Key Constraint','Create foreign key constraint from sta_pr_rescope_request.repo_id --> repository.id',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-2081-5','mheemskerk','liquibase/r1_3/m08.xml','2014-04-15 21:17:05.644000',204,'EXECUTED','3:99870034dc341ec56c5feed4eea63ada','Add Foreign Key Constraint','Create foreign key constraint from sta_pr_rescope_request.user_id --> stash_user.id',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-2600-01','mstudman','liquibase/r2_0/m06.xml','2014-04-15 21:17:05.667000',208,'EXECUTED','3:a7716444382d6880eb5d861b98a0edaa','Custom Change','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-2716-1','tbright','liquibase/r2_1/m01.xml','2014-04-15 21:17:05.670000',209,'EXECUTED','3:2a2e9fe759543f38095baaf28dd3dd4a','Modify data type','Increase the attribute value size to the maximum allowable by the DBs we use. The intention is for use to\u000a            be able to store JSON values here. The limit is 4000 single byte chars in Oracle.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-2892-1','tbright','liquibase/r2_2/m01.xml','2014-04-15 21:17:05.701000',221,'EXECUTED','3:16bb7f5ecdf5719822ccac2ab717dcd2','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-2892-2','tbright','liquibase/r2_2/m01.xml','2014-04-15 21:17:05.703000',222,'EXECUTED','3:302044e5eee48352c4f5997ab43eb361','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-2892-3','tbright','liquibase/r2_2/m01.xml','2014-04-15 21:17:05.706000',223,'EXECUTED','3:384cff4e9c7c34e75d75a1479ef6e4ff','Add Unique Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-2916-1','cofarrell_tbright','liquibase/r2_2/m01.xml','2014-04-15 21:17:05.709000',224,'EXECUTED','3:682f60e6c243608129be967656f6548b','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-2916-2','cofarrell','liquibase/r2_2/m01.xml','2014-04-15 21:17:05.712000',225,'EXECUTED','3:b8366e97f5a2770dc4fe4163dbeabede','Add Unique Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3052-01','mstudman','liquibase/r2_1/p01.xml','2014-04-15 21:17:05.685000',214,'EXECUTED','3:045cb33f4992e8e6abe324976e13d374','Custom Change','De-duplicate cs_indexer_state entries with identical (repository_id, indexer_id) values.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3052-02','mstudman','liquibase/r2_1/p01.xml','2014-04-15 21:17:05.687000',215,'EXECUTED','3:43383637d72292ce091ca414030ec63f','Add Primary Key','Create a primary key on (repository_id, indexer_id) for cs_indexer_state.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3270-1','mheemskerk','liquibase/r2_2/m01.xml','2014-04-15 21:17:05.689000',216,'EXECUTED','3:4a11dc765ac925ee66147a8892e70a40','Drop Table','Stash never needed to have the CWD_TOKEN table. It''s only used by Crowd for storing SSO tokens. Embedded\u000a            Crowd doesn''t need it.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3270-2','mheemskerk','liquibase/r2_2/m01.xml','2014-04-15 21:17:05.692000',217,'EXECUTED','3:bf0deafb34e5d60a429093310a1e75d2','Drop Primary Key','remote_address_binary and remote_address_mask are part of the primary key for cwd_application_address,\u000a            so the primary key must be dropped before the columns are dropped.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3270-3','mheemskerk','liquibase/r2_2/m01.xml','2014-04-15 21:17:05.694000',218,'EXECUTED','3:7097c0c75db724f85d55a9d24403601b','Drop Column','Crowd has removed the ''mask'' and ''encodedAddressBytes'' properties from the Application entity. They were\u000a            unused for a long time and have finally been removed. This removes the column from the database.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3270-4','mheemskerk','liquibase/r2_2/m01.xml','2014-04-15 21:17:05.696000',219,'EXECUTED','3:0aa74470b6d9296ae2d2c87a7a761211','Drop Column','Crowd has removed the ''mask'' and ''encodedAddressBytes'' properties from the Application entity. They were\u000a            unused for a long time and have finally been removed. This removes the column from the database',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3270-5','mheemskerk','liquibase/r2_2/m01.xml','2014-04-15 21:17:05.698000',220,'EXECUTED','3:327ed912a2dbdfd4f67cdf61d3dd27d0','Add Primary Key','Recreate the primary key on cwd_application_address now that the binary and mask columns have been dropped.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3283-1','bturner','liquibase/r2_3/m01.xml','2014-04-15 21:17:05.720000',229,'EXECUTED','3:e30e29fe451c5f70197df27a0479824b','Drop Column','The system has not been setting status messages for multiple releases. Remove the column from the\u000a            table entirely, since it is not really used.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3283-10b','bturner','liquibase/r2_3/m01.xml','2014-04-15 21:17:05.828000',238,'MARK_RAN','3:2dacfd56c11cd8d7411c349360ddef55','Drop Index','This index is redundant; it''s covered by a unique constraint. The changeset that created it has been\u000a            removed from the changelog.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3283-11','bturner','liquibase/r2_3/m01.xml','2014-04-15 21:17:05.830000',239,'EXECUTED','3:a1a4ddb62d364fef062907f6c72915fe','Drop Foreign Key Constraint','Drop the foreign key between cs_indexer_state and repository so it can be modified to cascade deletion.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3283-12','bturner','liquibase/r2_3/m01.xml','2014-04-15 21:17:05.832000',240,'EXECUTED','3:cbe6cf3d50c29e4b38abf70f71ddf8e8','Add Foreign Key Constraint','Re-add fk_cs_indexer_state_repository with ON DELETE CASCADE.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3283-2','bturner','liquibase/r2_3/m01.xml','2014-04-15 21:17:05.723000',230,'EXECUTED','3:fe6f3fb0b57ed4e1158260044ec5f980','Add Column','Add a column for tracking repository hierarchies. It must be initially nullable, and will be marked\u000a            non-null in a subsequent changeset after it is populated.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3283-3','bturner','liquibase/r2_3/m01.xml','2014-04-15 21:17:05.726000',231,'EXECUTED','3:42abcf07cea54b88e94a7f129003465d','Custom Change','Run a custom change to set hierarchy IDs for all repositories.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3283-4','bturner','liquibase/r2_3/m01.xml','2014-04-15 21:17:05.728000',232,'EXECUTED','3:4c63caa4ad8e7c2f6dc945cda54469b6','Add Not-Null Constraint','Switch hierarchy_id to non-null.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3283-5','bturner','liquibase/r2_3/m01.xml','2014-04-15 21:17:05.818000',233,'EXECUTED','3:660f963d54686deaf6f9b238e677356e','Create Index','Create index for hierarchy ID, since it wil be used frequently to load all repositories in a hierarchy\u000a            when creating pull requests.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3283-6','bturner','liquibase/r2_3/m01.xml','2014-04-15 21:17:05.820000',234,'EXECUTED','3:2045dab528fc839f2e5dcbe800fc9e78','Create Index','Create index for origin ID, for use retrieving forks of a given repository.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3283-7','bturner','liquibase/r2_3/m01.xml','2014-04-15 21:17:05.822000',235,'EXECUTED','3:7f0ae657bfb3e58562c47a4fb1103788','Create Index','Create index for repository project ID, which is used in almost every query against the repository table\u000a            to restrict results to a single project (usually joined by key).',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3283-8','bturner','liquibase/r2_3/m01.xml','2014-04-15 21:17:05.824000',236,'EXECUTED','3:5386f3bc655de954ce148b094dd93f5a','Create Index','Create index for repository state, which will be used to filter deleted repositories out of query results.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3283-9b','bturner','liquibase/r2_3/m01.xml','2014-04-15 21:17:05.826000',237,'MARK_RAN','3:206391c871ec540051bb4253cfa17f43','Drop Index','This index is redundant; it''s covered by a unique constraint. The changeset that created it has been\u000a            removed from the changelog.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3319-1','bturner','liquibase/r2_5/upgrade.xml','2014-04-15 21:17:05.957000',287,'EXECUTED','3:8b788c4c73b5c678001631e9917c6699','Add Column','Add commits_added and commits_removed columns for tracking the total number of commits added and removed\u000a            by a rescope activity. These may be null, in which case they''re calculated on retrieval.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3319-2','bturner','liquibase/r2_5/upgrade.xml','2014-04-15 21:17:05.963000',288,'EXECUTED','3:630d8c82b7ba19fd7317570b46795dd4','Create Table','Create sta_pr_rescope_commit table for recording the IDs of commits added and removed by a rescope activity.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3319-3','bturner','liquibase/r2_5/upgrade.xml','2014-04-15 21:17:05.965000',289,'EXECUTED','3:0264e6a95ecf041e5b3055a934a1ceaf','Create Index','Add an index on the rescope activity ID, which will be used by the foreign key.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3319-4','bturner','liquibase/r2_5/upgrade.xml','2014-04-15 21:17:05.967000',290,'EXECUTED','3:f1e7aa71abd66941ff77f7d1fbf363dc','Add Foreign Key Constraint','Create a foreign key from rescope commits to their rescope activity, with cascading deletion.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3458-1','jhinch','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.844000',246,'EXECUTED','3:405cee8aae36fd952a835980d647d66e','Rename Table','Rename weighted_permission to sta_permission_type',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3458-10','jhinch','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.868000',255,'EXECUTED','3:7de408c81aae9e919336bca701ac83d2','Add Foreign Key Constraint','Add the foreign key constraint between the ''sta_permission_type'' table and the project permission table.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3458-11','jhinch','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.870000',256,'EXECUTED','3:c08dbd43afbd36bbf774195f748d9926','Create Index','Add an index to the ''user_id'' column on in the ''sta_project_permission'' table.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3458-12','jhinch','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.872000',257,'EXECUTED','3:6ad5ab33d10ab87a85d79a4a7889db99','Create Index','Add an index to the ''group_name'' column on in the ''sta_project_permission'' table.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3458-13','jhinch','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.879000',258,'EXECUTED','3:7d95589fda846aeeada3a51d6d54b6ee','Create Table','Create the table that will receive the new repository permissions.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3458-14','jhinch','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.882000',259,'EXECUTED','3:1640ce743ad6297db8689d340f676116','Add Foreign Key Constraint','Add the foreign key constraint between the ''stash_user'' table and the repository permission table.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3458-15','jhinch','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.884000',260,'EXECUTED','3:cb2b416a045fba7c68a5bc2f1e8b1857','Add Foreign Key Constraint','Add the foreign key constraint between the ''repository'' table and the repository permission table.\u000a            Deleting a repository will be cascaded to the associated repository permissions.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3458-16','jhinch','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.888000',261,'EXECUTED','3:8850b2b180985d7a75880d2e9d2536f7','Add Foreign Key Constraint','Add the foreign key constraint between the ''sta_permission_type'' table and the repository permission table.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3458-17','jhinch','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.890000',262,'EXECUTED','3:8f9abe368278db400f7fd4c54d053a26','Create Index','Add an index to the ''user_id'' column on in the ''sta_repo_permission'' table.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3458-18','jhinch','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.892000',263,'EXECUTED','3:1a388393f48c5f9f4f08c60f0b403298','Create Index','Add an index to the ''group_name'' column on in the ''sta_repo_permission'' table.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3458-19','pepoirot','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.894000',264,'EXECUTED','3:67e0af278ca021e2276600cd4e7b69fd','Custom SQL','Migrate the global permissions in ''granted_permission'' to the new ''sta_global_permission'' table.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3458-2','jhinch','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.847000',247,'EXECUTED','3:c47265a907f5222063bb7faaf7b1e6d9','Create Table','Create the table that will receive the global permissions from the ''granted_permission'' table.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3458-20','pepoirot','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.896000',265,'EXECUTED','3:76aaf4e6f44f756f8ff994b4aac54998','Custom SQL','Migrate the project permissions in ''granted_permission'' to the new ''sta_project_permission'' table.\u000a            Due to an existing bug which allowed you do grant REPO_* level permissions on a project we explicitly select\u000a            only project permiss...',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3458-21','pepoirot','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.899000',266,'EXECUTED','3:4878325ff105ccd23fd746ee5f93f46a','Drop Table','Drop the ''granted_permission'' table.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3458-3','jhinch','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.849000',248,'EXECUTED','3:82968f7461a2e289ea5dd7685e70a9bd','Add Foreign Key Constraint','Add the foreign key constraint between the ''stash_user'' table and the global permission table.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3458-4','jhinch','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.852000',249,'EXECUTED','3:15060b0d809f000e814e7d0d2c2f3a9e','Add Foreign Key Constraint','Add the foreign key constraint between the ''sta_permission_type'' table and the global permission table.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3458-5','jhinch','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.853000',250,'EXECUTED','3:8e460c3a85247fbd5d7475b750fcba25','Create Index','Add an index to the ''user_id'' column on in the ''sta_global_permission'' table.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3458-6','jhinch','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.857000',251,'EXECUTED','3:4fe3e529771c24b748780a28d5e5e29a','Create Index','Add an index to the ''group_name'' column on in the ''sta_global_permission'' table.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3458-7','jhinch','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.861000',252,'EXECUTED','3:1dfb8f036d6492f1b1969c686363f823','Create Table','Create the table that will receive the project permissions from the ''granted_permission'' table.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3458-8','jhinch','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.864000',253,'EXECUTED','3:e80d6b98615d49dbe4fdf2a0fb18b849','Add Foreign Key Constraint','Add the foreign key constraint between the ''stash_user'' table and the project permission table.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3458-9','jhinch','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.866000',254,'EXECUTED','3:276b90760ed3bb1a9418f9a48a632d35','Add Foreign Key Constraint','Add the foreign key constraint between the ''project'' table and the repository permission table.\u000a            Deleting a repository will be cascaded to the associated project permissions.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3474-01','tbright','liquibase/r2_2/p01.xml','2014-04-15 21:17:05.714000',226,'EXECUTED','3:1743d960c6d661ff36d7322d0031b3bc','Custom Change','De-duplicate cs_repo_membership entries with identical (cs_id, repository_id) values.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3474-02','tbright','liquibase/r2_2/p01.xml','2014-04-15 21:17:05.716000',227,'EXECUTED','3:86fd1fd62f6dde71e6218f28dba3790d','Add Primary Key','Create a primary key on (cs_id, repository_id) for cs_repo_membership.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3474-03','tbright','liquibase/r2_2/p01.xml','2014-04-15 21:17:05.718000',228,'EXECUTED','3:321a93f26d74bdae1048c1df97b6c0fb','Create Index','Create an index key on repository_id for cs_repo_membership.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3567-1','bturner','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.901000',267,'EXECUTED','3:b459d7f8a0d608f73089e82b6b22bdc9','Create Table','Create the new sta_normal_project table',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3567-2','bturner','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.903000',268,'EXECUTED','3:dfe14991d6eb27617fe15b13d32f100e','Add Foreign Key Constraint','Create a cascading foreign key from sta_normal_project back to project',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3567-3','bturner','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.905000',269,'EXECUTED','3:e5d00cb759da4cfac4acd76a098cfae3','Custom SQL','Populate the sta_normal_project table with all of the rows from project that identify normal projects.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3567-4','bturner','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.909000',270,'EXECUTED','3:57d359aa7ed519a2afcc5bd33de7c392','Create Table','Create the new sta_personal_project table',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3567-5','bturner','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.918000',271,'EXECUTED','3:fb40317923d657712794d68594f42f68','Add Foreign Key Constraint','Create a cascading foreign key from sta_personal_project back to project',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3567-6','bturner','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.924000',272,'EXECUTED','3:75c88cf38efd5514a09fdec40cd7899f','Add Foreign Key Constraint','Create a foreign key from sta_personal_project to its owner in stash_user',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3567-7','bturner','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.926000',273,'EXECUTED','3:96604290e46683d80e519cc693132f71','Custom Change','Use a custom change to populate sta_personal_project from projects and set owner links.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3619-1','bturner','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.838000',243,'EXECUTED','3:e810fea38dcfb2f9248f1dd6659903fb','Add Column','Add a column to the "repository" table for the forkable flag.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3619-2','bturner','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.840000',244,'EXECUTED','3:65e4ae45fefee65a360db3cee013bd8c','Update Data','Mark all existing repositories as forkable by default.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3619-3','bturner','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.842000',245,'EXECUTED','3:2e2a936a31c01eb97f6fdfc36fd9c138','Add Not-Null Constraint','After setting the default value, mark "repository"."is_forkable" as NOT NULL.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-363-recent-repos-01','mstudman','liquibase/r1_1/m03.xml','2014-04-15 21:17:05.081000',73,'EXECUTED','3:4690a8cd9ddf2be3b81883fcd567dbdc','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-363-recent-repos-02','mstudman','liquibase/r1_1/m03.xml','2014-04-15 21:17:05.084000',74,'EXECUTED','3:32efc3468bc4a77ea6927489b9af0f85','Add Primary Key','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-363-recent-repos-03','mstudman','liquibase/r1_1/m03.xml','2014-04-15 21:17:05.088000',75,'EXECUTED','3:e5aa2a064381dc05010fab90b4c705de','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3734-1','mstudman','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.928000',274,'EXECUTED','3:e3b1ec0c9249b3bd25e63bf942b98f38','Add Column','Adds the column stash_user.slug, initially nullable and non-unique, for tracking a user''s slug.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3734-2','mstudman','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.930000',275,'EXECUTED','3:664608cffb169fd6f6755c3742f0881e','Update Data','Default all user slugs to the username, which is already unique.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3734-3','mstudman','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.932000',276,'EXECUTED','3:2a9534643a2454f8c00c6094326b902f','Add Not-Null Constraint','Adds not-null constraint on stash_user.slug now that all rows have values',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3734-4','mstudman','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.934000',277,'EXECUTED','3:0915ae71248292c6cc8c73d79b6a5cc4','Add Unique Constraint','Adds uniqueness constraint on stash_user.slug now that all rows have values',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3734-6','mstudman','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.936000',278,'EXECUTED','3:6e885e00b6fdeafbd3deb6da572f908f','Custom Change','Update any stash_user rows where the name is not an appropriate slug, ensuring a valid\u000a            slug (computed from the name) is set.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3994-5','bturner','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.938000',279,'EXECUTED','3:aa2b8306175fef8b3ed068ac9cfdb858','Modify data type','Increase the project key from 64 characters to 128.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-3994-7','bturner','liquibase/r2_4/upgrade.xml','2014-04-15 21:17:05.939000',280,'EXECUTED','3:d72414ae2e8c6b6cdaaa0f27a8ebef4d','Modify data type','Increase the project name from 64 characters to 128.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-4154-1','jhinch','liquibase/r2_5/upgrade.xml','2014-04-15 21:17:05.943000',281,'EXECUTED','3:954cdbd4b0bd464083bf0e836c16b8e2','Add Column','Add a column to the "repository" table for the public flag.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-4154-2','jhinch','liquibase/r2_5/upgrade.xml','2014-04-15 21:17:05.944000',282,'EXECUTED','3:8edb2e43d6048e78dbe86d06aeb46b43','Update Data','Mark all existing repositories as private by default.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-4154-3','jhinch','liquibase/r2_5/upgrade.xml','2014-04-15 21:17:05.946000',283,'EXECUTED','3:2558ae73d492fc2bc579af6aa3bb9eac','Add Not-Null Constraint','After setting the default value, mark "repository"."is_public" as NOT NULL.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-4154-4','jhinch','liquibase/r2_5/upgrade.xml','2014-04-15 21:17:05.949000',284,'EXECUTED','3:2f134f50fdd840656c8abeab22a4cab8','Add Column','Add a column to the "sta_normal_project" table for the public flag.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-4154-5','jhinch','liquibase/r2_5/upgrade.xml','2014-04-15 21:17:05.950000',285,'EXECUTED','3:39552ecb18e1fd9fb6e307fe1ff3fb72','Update Data','Mark all existing projects as private by default.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-4154-6','jhinch','liquibase/r2_5/upgrade.xml','2014-04-15 21:17:05.952000',286,'EXECUTED','3:439ce026f754f07f726836bbddfdd9ab','Add Not-Null Constraint','After setting the default value, mark "sta_normal_project"."is_public" as NOT NULL.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5102-1','cofarrell','liquibase/r2_9/upgrade.xml','2014-04-15 21:17:06.049000',324,'EXECUTED','3:ba2b10ee7507e3c5bcd36b924a38bdee','Custom SQL','Uppercase all of the indexed JIRA values to allow for queries that don''t have to be case insensitive',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5250-1','mheemskerk','liquibase/r2_9/upgrade.xml','2014-04-15 21:17:06.052000',325,'EXECUTED','3:fd28729c44be65d769334ad5764ba6bb','Add Column','Add a column to the "cwd_user" table for an external identifier.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5398-1','dkordonski','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.055000',326,'EXECUTED','3:a038ec9c6ba056756c4f843ef0859ad5','Add Column','Add file_type column to sta_diff_comment_anchor to support anchoring comments in diffs in source or\u000a            destination file',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5398-2','dkordonski','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.058000',327,'EXECUTED','3:0acc37f2a1353ac56b88f8d0926ad30d','Update Data (x2)','Update file_type to proper values according to line_type.\u000a            line_type = 1 (ADDED) -> file_type = 1 (TO)\u000a            line_type not null -> file_type = 0 (FROM)\u000a            for line_type null we leave file_type null as this means non-line anchor',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5511-1','mstudman','liquibase/r2_12/upgrade.xml','2014-04-15 21:17:06.177000',364,'EXECUTED','3:06f38c892b0c672d6c9ce3c944718509','Create Table','Creating the sta_service_user table for the InternalServiceUser entity.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5511-2','mstudman','liquibase/r2_12/upgrade.xml','2014-04-15 21:17:06.180000',365,'EXECUTED','3:c8146aac157d96e5e0a928167fa8df63','Add Foreign Key Constraint','Create a foreign key constraint between service users and their base user.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5511-3','mstudman','liquibase/r2_12/upgrade.xml','2014-04-15 21:17:06.184000',366,'EXECUTED','3:0d3b70c19f65f1bb8f9772d68d1b4057','Create Table','Creating the sta_normal_user table for the InternalNormalUser entity.\u000a            The length of the ''locale'' column is just largest enough to allow for the slightly longer ''ja_JP_JP'' locales.\u000a            This column default to nullable because the sett...',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5511-4','mstudman','liquibase/r2_12/upgrade.xml','2014-04-15 21:17:06.187000',367,'EXECUTED','3:75304eaa40f50485dc88a0b30ee023e9','Add Foreign Key Constraint','Create a foreign key constraint between normal users and their base user.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5511-5','mstudman','liquibase/r2_12/upgrade.xml','2014-04-15 21:17:06.189000',368,'EXECUTED','3:86309655d9cd7645f65661f547af3fab','Custom SQL','Insert sta_normal_user rows for all the stash_user rows',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5511-7','mstudman','liquibase/r2_12/upgrade.xml','2014-04-15 21:17:06.191000',369,'EXECUTED','3:38b95e83860ae23fc9afd5fc0fc1d6d4','Drop Column','Dropping column name from table stash_user as this now lives on sta_normal_user',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5511-9','mstudman','liquibase/r2_12/upgrade.xml','2014-04-15 21:17:06.193000',370,'EXECUTED','3:5d24292e027713527d4d62d7a7b0cfed','Drop Column','Dropping column slug from table stash_user as this now lives on sta_normal_user',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-1','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.063000',328,'EXECUTED','3:b74cc62265c9cbe000f02f4863d26142','Create Table','Create the sta_cmt_discussion table for CommitDiscussion.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-10','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.085000',337,'EXECUTED','3:903efae5d34ffedb31a07f06c3345285','Add Foreign Key Constraint','Create a foreign key between discussion participants and their user. Note that this foreign key does\u000a            not cascade deletions as it is expected that Stash users will never be deleted.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-11','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.087000',338,'EXECUTED','3:15d3329c1e72e73c9b62c29f1accdb80','Add Unique Constraint','Create a unique constraint ensuring a given user is not a participant in any discussion more than once.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-12','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.090000',339,'EXECUTED','3:9b023d1667e4a5ecc77968d19c4bb784','Create Table','Create the sta_repo_activity table for tracking repository activity streams.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-13','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.092000',340,'EXECUTED','3:6aeb155ec1fca500e9a1ec62847695f5','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-14','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.094000',341,'EXECUTED','3:1a3895d8cfbe24a03a1a2cd754ec7b6f','Add Foreign Key Constraint','Create a foreign key between repository activities and their base activities, cascading deletion to\u000a            simplify deleting activities.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-15','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.097000',342,'EXECUTED','3:9b9d0102f9dc03bcc682ae8df62d92f1','Add Foreign Key Constraint','Create a foreign key between activities and their repositories. This foreign key does not cascade\u000a            because doing so would leave orphaned partial activities',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-16','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.100000',343,'EXECUTED','3:b7940596a69a0f9fa430202620271f14','Create Table','Create the sta_cmt_disc_activity table for tracking commit discussion activity streams.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-17','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.102000',344,'EXECUTED','3:5a5764bcb19f60e1a5c880f6645a187a','Create Index','Create an index on discussion IDs to facilitate applying the foreign key to sta_cmt_discussion.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-18','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.105000',345,'EXECUTED','3:d7a9399ff567038a660b687c1f9c0853','Add Foreign Key Constraint','Create a foreign key between discussion activities and their base repository activities, cascading\u000a            deletion to simplify deleting activities.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-19','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.107000',346,'EXECUTED','3:394c5cfcb7574d9fff2779383b2caec8','Add Foreign Key Constraint','Create a foreign key between discussion activities and their discussions. Note that this foreign key\u000a            does not cascade deletions because doing so would leave orphaned rows in other activity tables.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-2','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.065000',329,'EXECUTED','3:9b0200e0cb7652b5f27029354b5b53ec','Create Index','Create an index on discussion repositories.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-20','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.111000',347,'EXECUTED','3:8c12baf2178e3eec451762bad1b45239','Create Table','Create the sta_cmt_disc_comment_activity for tracking commit discussion comments in the activity stream.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-21','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.121000',348,'EXECUTED','3:f750a5213d6a766a68ffc2e70bdbb3e6','Create Index','Create an index on anchor IDs to facilitate applying the foreign key to sta_diff_comment_anchor.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-22','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.123000',349,'EXECUTED','3:90aaf4be7b2c74606a0761b6d0873764','Create Index','Create an index on comment IDs to facilitate applying the foreign key to sta_comment.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-23','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.126000',350,'EXECUTED','3:d162fe3b0a31f506f677abf7cfbd362c','Add Foreign Key Constraint','Create a foreign key between comment activities and their base discussion activities, cascading deletion\u000a            to simplify deleting activities.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-24','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.128000',351,'EXECUTED','3:f48571e17ec6184df4b5de5e2e0f4feb','Add Foreign Key Constraint','Create a foreign key between comment activities and their comment anchor, if one is set. Note that this\u000a            foreign key does not cascade deletions as it is expected anchors will never be deleted without deleting\u000a            their attached comme...',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-25','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.131000',352,'EXECUTED','3:17c013808085c849d2e4cb66f6fca128','Add Foreign Key Constraint','Create a foreign key between comment activities and their comments. Note that this foreign key does not\u000a            cascade deletions because doing so would leave orphaned rows in other activity tables.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-26','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.139000',353,'EXECUTED','3:fe8f2ed981c0c878097cd0d74395f48a','Create Table','Create the table for the InternalChangesetDiffCommentAnchor, a joined subtype of InternalDiffCommentAnchor\u000a            which adds in a reference to an AnnotatedChangeset.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-27','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.145000',354,'EXECUTED','3:7426073e0db8eb2540376a457171828a','Create Index','Create an index on discussion IDs to facilitate applying the foreign key to sta_cmt_discussion.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-28','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.152000',355,'EXECUTED','3:b8ba40866f746b611f3569ec1ba7f625','Add Foreign Key Constraint','Create a foreign key between discussion comment anchors and their base anchor, cascading deletion\u000a            to simplify deleting anchors.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-29','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.155000',356,'EXECUTED','3:c01ba3effcd5e3b8b64337f20bbc0477','Add Foreign Key Constraint','Create a foreign key between discussion comment anchors and their discussions. Note that this foreign\u000a            key does not cascade deletions between doing so would leave orphaned rows in sta_diff_comment_anchor.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-3','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.067000',330,'EXECUTED','3:3678b3b0c027ac6893c27922ee55ce91','Create Index','Create an index on discussion commit IDs.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-4','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.070000',331,'EXECUTED','3:692e3e688127957fcf715e225d2bdd52','Add Unique Constraint','Create a unique constraint ensuring multiple discussions are not started on the same commit ID within\u000a            a single repository.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-5','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.072000',332,'EXECUTED','3:91527913d214600dac2ac1d7b94e6dd0','Add Foreign Key Constraint','Create a foreign key between discussions and their repositories, cascading deletion to remove discussions\u000a            when their containing repository is deleted.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-6','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.076000',333,'EXECUTED','3:021e69ce94c12ffa8532cc048c2e2043','Create Table','Create the sta_cmt_disc_participant table for tracking which users have participated in a commit discussion.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-7','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.078000',334,'EXECUTED','3:d9df13d3b27682c2dbc0d16deefaaf0d','Create Index','Create an index on participant discussions to speed up processing the foreign key.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-8','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.080000',335,'EXECUTED','3:b4860f757a558704cd453bfa2c57fddf','Create Index','Create an index on participant users to speed up processing the foreign key.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-5791-9','bturner','liquibase/r2_11/upgrade.xml','2014-04-15 21:17:06.082000',336,'EXECUTED','3:5b57dc9a8fde10d29bba0f8293f0cb36','Add Foreign Key Constraint','Create a foreign key between discussion participants and the discussion, cascading deletion to remove\u000a            participants when discussions are deleted.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-595-1','bturner','liquibase/r1_1/m04.xml','2014-04-15 21:17:05.091000',76,'EXECUTED','3:8767ab3892d88806e32669af73ead216','Drop Column','Anonymous access is not currently supported in Stash. When it is, it will likely not be implemented the way\u000a            this column was designed to support, so there''s no point in keeping the column in the table.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-595-2','bturner','liquibase/r1_1/m04.xml','2014-04-15 21:17:05.095000',77,'EXECUTED','3:e36f06032c4d7e551843c484ef1d62d1','Create Table','Metadata table for adding knowledge of each''s permission''s relative weight to the database. This allows more\u000a            efficient retrieval of a user or group''s "highest" permission.\u000a\u000a            See Permission.getWeight() documentation for more details.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-595-3','bturner','liquibase/r1_1/m04.xml','2014-04-15 21:17:05.117000',78,'EXECUTED','3:1dee63fd0ae829da4da575f4e38e5f63','Insert Row (x10)','Initial population of relative weights for all permissions. These values must match the values specified in\u000a            the Permission enumeration _exactly_ or the database will return incorrect results.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-595-4','bturner','liquibase/r1_1/m04.xml','2014-04-15 21:17:05.121000',79,'EXECUTED','3:73e4096be733eea6a2fd58a26423c045','Add Foreign Key Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-616-01','dpinn','liquibase/r1_2/m03.xml','2014-04-15 21:17:05.187000',92,'MARK_RAN','3:a9f926a299806903995fbb3713ada765','Drop Foreign Key Constraint','Drop the REPOSITORY.FK_REPOSITORY_REPOSITORY_ORIGIN foreign key constraint',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-616-02','dpinn','liquibase/r1_2/m03.xml','2014-04-15 21:17:05.190000',93,'EXECUTED','3:abfec581137d757f2dc7372926dfad6d','Add Foreign Key Constraint','Add the REPOSITORY.FK_REPOSITORY_ORIGIN foreign key constraint\u000a            to replace the REPOSITORY.FK_REPOSITORY_REPOSITORY_ORIGIN foreign key constraint',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-616-03','dpinn','liquibase/r1_2/m03.xml','2014-04-15 21:17:05.193000',94,'MARK_RAN','3:b1f680e1c426fb51f0a80ddad2e0391c','Drop Foreign Key Constraint','Drop the CS_REPO_MEMBERSHIP.FK_CS_REPO_MEMBERSHIP_CHANGESET foreign key constraint',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-616-04','dpinn','liquibase/r1_2/m03.xml','2014-04-15 21:17:05.195000',95,'EXECUTED','3:d8ef69b6f4e38f5ef26b56d4aeb85844','Add Foreign Key Constraint','Add the CS_REPO_MEMBERSHIP.FK_REPO_MEMBERSHIP_CHANGESET foreign key constraint\u000a            to replace the CS_REPO_MEMBERSHIP.FK_CS_REPO_MEMBERSHIP_CHANGESET foreign key constraint',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-616-05','dpinn','liquibase/r1_2/m03.xml','2014-04-15 21:17:05.198000',96,'MARK_RAN','3:e4f5aff15989af6555e0e843c04a59fb','Drop Foreign Key Constraint','Drop the CS_REPO_MEMBERSHIP.FK_CS_REPO_MEMBERSHIP_REPOSITORY foreign key constraint',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-616-06','dpinn','liquibase/r1_2/m03.xml','2014-04-15 21:17:05.201000',97,'EXECUTED','3:d9c879564eab37979ff6e3800dd255b7','Add Foreign Key Constraint','Add the CS_REPO_MEMBERSHIP.FK_REPO_MEMBERSHIP_REPO foreign key constraint\u000a            to replace the CS_REPO_MEMBERSHIP.FK_CS_REPO_MEMBERSHIP_REPOSITORY foreign key constraint',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-616-07','dpinn','liquibase/r1_2/m03.xml','2014-04-15 21:17:05.204000',98,'MARK_RAN','3:f615e2446e8ed0a10b877ce713ef1cb3','Drop Foreign Key Constraint','Drop the REPOSITORY_ACCESS.FK_REPOSITORY_ACCESS_ID_STASH_USER_ID foreign key constraint',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-616-08','dpinn','liquibase/r1_2/m03.xml','2014-04-15 21:17:05.207000',99,'EXECUTED','3:4662f6d5090143a2327e4e30dea4a9ae','Add Foreign Key Constraint','Add the REPOSITORY_ACCESS.FK_REPOSITORY_ACCESS_USER foreign key constraint\u000a            to replace the REPOSITORY_ACCESS.FK_REPOSITORY_ACCESS_ID_STASH_USER_ID foreign key constraint',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-616-09','dpinn','liquibase/r1_2/m03.xml','2014-04-15 21:17:05.210000',100,'MARK_RAN','3:a44bd21b8df538a2095649410e9830d9','Drop Foreign Key Constraint','Drop the REPOSITORY_ACCESS.FK_REPOSITORY_ACCESS_ID_REPOSITORY_ID foreign key constraint',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-616-10','dpinn','liquibase/r1_2/m03.xml','2014-04-15 21:17:05.213000',101,'EXECUTED','3:6c0823edf631eac234e14a5553125096','Add Foreign Key Constraint','Add the REPOSITORY_ACCESS.FK_REPOSITORY_ACCESS_REPO foreign key constraint\u000a            to replace the REPOSITORY_ACCESS.FK_REPOSITORY_ACCESS_ID_REPOSITORY_ID foreign key constraint',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-962-1','bturner','liquibase/r2_1/m01.xml','2014-04-15 21:17:05.673000',210,'EXECUTED','3:69f5ccd6665dcece4d3535ecd441afae','Add Column','Add a column for the ProjectType type property, allowing the creation of new project types. The column\u000a            defaults to nullable to allow for existing rows, which will be adjusted by the next changeset.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-962-2','bturner','liquibase/r2_1/m01.xml','2014-04-15 21:17:05.678000',211,'EXECUTED','3:e22e95ec35440abac12a69d0c3ad466f','Update Data','All existing projects are normal projects, so a blanket update will reflect this.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-962-3','bturner','liquibase/r2_1/m01.xml','2014-04-15 21:17:05.680000',212,'EXECUTED','3:1a0bf1973619d6da2fe6924099cdb0fc','Add Not-Null Constraint','Having set a value on any existing projects, mark the column as not null.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('STASHDEV-962-4','bturner','liquibase/r2_1/m01.xml','2014-04-15 21:17:05.682000',213,'EXECUTED','3:a1ea9d5e1a67ad2ca4f0c1b66fd956c1','Create Index','Create an index on the project type to allow filtering personal projects out of the project list.',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-01','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.349000',1,'EXECUTED','3:57267587db3cf72d7ddcf3bcb9d8c9d2','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-02','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.360000',2,'EXECUTED','3:ffb4f65e042926c584170dbf14367744','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-03','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.367000',3,'EXECUTED','3:5a84448c253d992e66735299b43f8f79','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-04','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.374000',4,'EXECUTED','3:393beaf7c3ebf7218790e1d68f62d783','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-05','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.380000',5,'EXECUTED','3:dc65120a2e8b99a24ff82c548d70e1fb','Create Table, Add Primary Key','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-06','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.387000',6,'EXECUTED','3:02da791270dad1b7fd7b3b6cdf91f4e2','Create Table, Add Primary Key','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-07','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.393000',7,'EXECUTED','3:1e459e96366b782e0868ce043526b1e8','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-08','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.401000',8,'EXECUTED','3:939def81f56d8dcba7997d1869e0fbb2','Create Table, Add Primary Key','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-09','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.410000',9,'EXECUTED','3:66d4910b7100786046358fe8d45b8878','Create Table, Add Primary Key','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-10','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.419000',10,'EXECUTED','3:8bd3fa178b66557d463e14883ca811b3','Create Table, Add Primary Key','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-11','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.427000',11,'EXECUTED','3:abb171eb7cdef450592031ea215397a8','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-12','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.433000',12,'EXECUTED','3:5f0eb3fa6ab12db750fc6a0a89cbc050','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-13','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.441000',13,'EXECUTED','3:fc01ddbc78538b9f39095a42a3fe91be','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-14','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.447000',14,'EXECUTED','3:98e3961ec553941e137b676becfe9758','Create Table, Add Primary Key','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-15','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.454000',15,'EXECUTED','3:cc5ab58160194c77e4c9c02a817e9c6f','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-16','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.471000',16,'EXECUTED','3:a36e77d6206eeda90f1a8e8f5803d952','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-17','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.478000',17,'EXECUTED','3:7d6f0a0ddc97f33f9f52f49c26e7e5a5','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-18','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.483000',18,'EXECUTED','3:3ebb528cd7b8bd5e4d1545643b94aa44','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-19','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.487000',19,'EXECUTED','3:04b8463f2d6bf338a28a5b3aabdb3b7f','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-20','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.490000',20,'EXECUTED','3:c378b0fda9323bc60f2b65c21edfed53','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-21','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.493000',21,'EXECUTED','3:0f8c15342371752258168935580208e1','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-22','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.496000',22,'EXECUTED','3:b1ef7ced0759ee685a77cc9953a42158','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-23','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.499000',23,'EXECUTED','3:94b80e2d6dd2a60dd2240ef2dba9504e','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-24','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.502000',24,'EXECUTED','3:046e0717ab0b70c59c4dbf6f0fe75470','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-25','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.506000',25,'EXECUTED','3:3d71a8e52b6457d1525d822784928cc3','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-26','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.509000',26,'EXECUTED','3:4555c9232ce4fa71733395b6256454a3','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-27','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.512000',27,'EXECUTED','3:3aefb4b328d0af5370af35571984c6d8','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-28','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.514000',28,'EXECUTED','3:41bbf37720c26f10217ef892c14588db','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-29','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.517000',29,'EXECUTED','3:16b8f5bc220706102da87e969296243a','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-30','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.520000',30,'EXECUTED','3:9c4c8fd3c53e32e471572f53d3ed6bf9','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-31','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.523000',31,'EXECUTED','3:3bf36ca1b027766242573b7f7a79c325','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-32','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.527000',32,'EXECUTED','3:a23f0ee937c40a37404d0402de394322','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-33','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.530000',33,'EXECUTED','3:75db9e498deaa048cbef8217e9e88799','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-34','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.533000',34,'EXECUTED','3:a1d916340aed52d7740d278a418584b2','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-35','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.537000',35,'EXECUTED','3:428a1a2b4bd83cf78e3074144eb81b2e','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-36','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.540000',36,'EXECUTED','3:ffdfa2a35c9f3c8cdebb96e07476d14b','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-37','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.544000',37,'EXECUTED','3:9b5d1e50c030174a51ef1402be824a7f','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-38','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.548000',38,'EXECUTED','3:6526828cd67c3afe707bbe505e8a8746','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-39','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.551000',39,'EXECUTED','3:a9ef114a5df3af11bda73e44593113e2','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-40','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.554000',40,'EXECUTED','3:197cf65b8755895a65262b0db5db1aa1','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-41','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.557000',41,'EXECUTED','3:5df083314109ea2ceceaa3dd495810b7','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-42','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.564000',42,'EXECUTED','3:dddbe7e7452dcbdbbbc41d1668149cfc','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-43','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.567000',43,'EXECUTED','3:8b7b235b0bd0dbd2134e5bc27d69ccd8','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-44','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.576000',44,'EXECUTED','3:0c5b3e86a5057f7e58e8d39e42ac2351','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-45','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.580000',45,'EXECUTED','3:136331fa6d06250ac5456c8f94af544f','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-46','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.584000',46,'EXECUTED','3:735de85aade4f31bb4b64924bad16d5e','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-47','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.588000',47,'EXECUTED','3:02da495ccba16402016bcce29dfc7612','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-48','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.591000',48,'EXECUTED','3:34aaa09a84997eec11437169a7818c1e','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-49','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.598000',49,'EXECUTED','3:5c008bdd6ad329dc90bdfe87d5de32a2','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-50','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.609000',50,'EXECUTED','3:9d2910399d3547ced80411f58d7001bc','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-51','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.612000',51,'EXECUTED','3:2f5a5362d9a1a3ddfc047ad93387c203','Create Index','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-52','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.619000',52,'EXECUTED','3:5d4ca86df3a3d328cfb9adcc3ae35a8d','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-53','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.627000',53,'EXECUTED','3:bbb7edfc3c1cf4e1ede6f6a869b80f3d','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-54','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.658000',54,'EXECUTED','3:1721d03952f415b16f57538b5d6c9b8d','Create Table, Add Unique Constraint, Add Foreign Key Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-55','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.667000',55,'EXECUTED','3:bf51e62b65dc0de7bbbf7f135a35faf0','Create Table, Add Foreign Key Constraint (x2)','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-56','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.686000',56,'EXECUTED','3:bacd40e3462e3705cbbc6cae363fe000','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-57','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.698000',57,'EXECUTED','3:e1c2f41f129688783602cfbd83da1939','Create Table, Add Unique Constraint, Add Foreign Key Constraint','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-58','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.703000',58,'EXECUTED','3:c6ae70b5c5cb36633870ade25269d507','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-59','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.710000',59,'EXECUTED','3:a6528cb8475a97bda8e2d779d75f081c','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-60','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.714000',60,'EXECUTED','3:e1817b8e5cfe69dbe4926b0ad49754d3','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-61','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.726000',61,'EXECUTED','3:4e86c2586cd37042de2d404a30f05cdd','Create Table, Insert Row','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-62','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:04.729000',62,'EXECUTED','3:630562ae42ffd80ee4159c905b5cb38a','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-63','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:05.020000',63,'EXECUTED','3:9fab371131a956fc46aaee3dfcfc25a1','Create Table, Add Primary Key','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('initial-schema-64','mheemskerk','com/atlassian/caviar/db/changelog/r1_0/initial-schema.xml','2014-04-15 21:17:05.026000',64,'EXECUTED','3:d724614c8e937b1114be4541636aba3b','Create Table','',NULL,'2.0.5')
INSERT INTO DATABASECHANGELOG VALUES('m13-01','gcrain','com/atlassian/caviar/db/changelog/r1_0/m13.xml','2014-04-15 21:17:05.029000',65,'EXECUTED','3:ef4f21faec1a9a30d6bcf92bc1cfaae5','Modify data type','',NULL,'2.0.5')
INSERT INTO CWD_APPLICATION VALUES(1,'crowd-embedded','crowd-embedded','2014-04-15 21:17:20.485000','2014-04-15 21:17:20.529000',NULL,'CROWD','{PKCS5S2}2icfAirqv10PAy39u2Eg2fmliDtMTjISHmP6LQbj5Li33ex+HEdL+RxSXW49BCIN','T')
INSERT INTO CWD_DIRECTORY VALUES(32769,'Stash Internal Directory','stash internal directory','2014-04-15 21:17:20.518000','2014-04-15 21:17:20.518000','Stash Internal Directory','com.atlassian.crowd.directory.InternalDirectory','com.atlassian.crowd.directory.internaldirectory','INTERNAL','T')
INSERT INTO CWD_APP_DIR_MAPPING VALUES(65537,1,32769,0,'T')
INSERT INTO CWD_APP_DIR_OPERATION VALUES(65537,'CREATE_GROUP')
INSERT INTO CWD_APP_DIR_OPERATION VALUES(65537,'CREATE_ROLE')
INSERT INTO CWD_APP_DIR_OPERATION VALUES(65537,'CREATE_USER')
INSERT INTO CWD_APP_DIR_OPERATION VALUES(65537,'DELETE_GROUP')
INSERT INTO CWD_APP_DIR_OPERATION VALUES(65537,'DELETE_ROLE')
INSERT INTO CWD_APP_DIR_OPERATION VALUES(65537,'DELETE_USER')
INSERT INTO CWD_APP_DIR_OPERATION VALUES(65537,'UPDATE_GROUP')
INSERT INTO CWD_APP_DIR_OPERATION VALUES(65537,'UPDATE_GROUP_ATTRIBUTE')
INSERT INTO CWD_APP_DIR_OPERATION VALUES(65537,'UPDATE_ROLE')
INSERT INTO CWD_APP_DIR_OPERATION VALUES(65537,'UPDATE_ROLE_ATTRIBUTE')
INSERT INTO CWD_APP_DIR_OPERATION VALUES(65537,'UPDATE_USER')
INSERT INTO CWD_APP_DIR_OPERATION VALUES(65537,'UPDATE_USER_ATTRIBUTE')
INSERT INTO CWD_APPLICATION_ATTRIBUTE VALUES(1,'true','atlassian_sha1_applied')
INSERT INTO CWD_DIRECTORY_ATTRIBUTE VALUES(32769,'atlassian-security','user_encryption_method')
INSERT INTO CWD_DIRECTORY_OPERATION VALUES(32769,'CREATE_GROUP')
INSERT INTO CWD_DIRECTORY_OPERATION VALUES(32769,'CREATE_ROLE')
INSERT INTO CWD_DIRECTORY_OPERATION VALUES(32769,'CREATE_USER')
INSERT INTO CWD_DIRECTORY_OPERATION VALUES(32769,'DELETE_GROUP')
INSERT INTO CWD_DIRECTORY_OPERATION VALUES(32769,'DELETE_ROLE')
INSERT INTO CWD_DIRECTORY_OPERATION VALUES(32769,'DELETE_USER')
INSERT INTO CWD_DIRECTORY_OPERATION VALUES(32769,'UPDATE_GROUP')
INSERT INTO CWD_DIRECTORY_OPERATION VALUES(32769,'UPDATE_GROUP_ATTRIBUTE')
INSERT INTO CWD_DIRECTORY_OPERATION VALUES(32769,'UPDATE_ROLE')
INSERT INTO CWD_DIRECTORY_OPERATION VALUES(32769,'UPDATE_ROLE_ATTRIBUTE')
INSERT INTO CWD_DIRECTORY_OPERATION VALUES(32769,'UPDATE_USER')
INSERT INTO CWD_DIRECTORY_OPERATION VALUES(32769,'UPDATE_USER_ATTRIBUTE')
INSERT INTO CWD_GROUP VALUES(98305,'stash-users','stash-users','2014-04-15 21:17:20.583000','2014-04-15 21:17:20.583000',NULL,'GROUP',32769,'T','F')
INSERT INTO CURRENT_APP VALUES(1,'7F000101014566D27D968BD54D155F01','MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzXmE0TglxrFtJt0YbTi3MQtfy4peYbOuQVIBnAGqzJlsrqef+YC+pBHaH3n1U7rcbYKoYiDk+z00eTavBy2o6JSzcRplzJ2DueRhkqZtiVp7mJDxU5tvJnypmaDfcZAAh9BZEWQFHajmxGJSMFywGnIaykzovGGEAAjjqXl7er2ZMsEHArK81JyEQYxT+MVCvtN1itc4w4TDkag/6o0TIeVBL6XLP0Er679p60vBqfHnp0Ts3qERZOaWOfX4gCnyi4GlOTU4nrnAWWLBNQ+/cY0ZyXaGx6B6DhBSdryhwwpnQp1lN9jwOWcMG9iM2Rw/eYnxEMdcSAgXqZZeLJrJuQIDAQAB','MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDNeYTROCXGsW0m3RhtOLcxC1/Lil5hs65BUgGcAarMmWyup5/5gL6kEdofefVTutxtgqhiIOT7PTR5Nq8HLajolLNxGmXMnYO55GGSpm2JWnuYkPFTm28mfKmZoN9xkACH0FkRZAUdqObEYlIwXLAachrKTOi8YYQACOOpeXt6vZkywQcCsrzUnIRBjFP4xUK+03WK1zjDhMORqD/qjRMh5UEvpcs/QSvrv2nrS8Gp8eenROzeoRFk5pY59fiAKfKLgaU5NTieucBZYsE1D79xjRnJdobHoHoOEFJ2vKHDCmdCnWU32PA5Zwwb2IzZHD95ifEQx1xICBepll4smsm5AgMBAAECggEAbTtkuDS5IF/CPx7alXXJLXF2g6YTdq0mveLyqBTaz9ngRRknmmQu9Nnos0MKgHCeLjl/emsyT73B346Kja5gVQR4QHBgHd6+4Fvg4y1GnfZULk8fe+rts/Ah2WIEZ0K+hXTlZLFfZt0bkNsUBlG/7M8sHs+0CjFtEvemz7mdQyoDzZRP1sTASejpw8He+7AT6/W+EWgdkJFnxYShiP8N/FS0EvJ6wawFaRTEIFKo61fefjBPnHXNb5Dk8bTl9M0nryzUzAwUuaCZYjHVvADi972ogNI+VJEQ98ZRa8/Zj2XhZh0WfDSgbrpiK/1znMrQ4xew3s7bEAWLIPOn7xMoAQKBgQDx0SnmruWV3Hn9ZA/vxxGOyekPvGwLJ9jOiM3fbQZ6o3P5xrSqb/o8v8mHz7hcxQzAEH+ibVpeqOeMykeWEyTlwfHaZgLxmc/1AhYq2NKoS2PoXyNjdh2LzBIZjDpMehVeGT6+J6U+hOw2T9WRekzWerkgQFkTFg14sgRTD9QfoQKBgQDZhq57axrAslnBfw292y4mnNiwaICVLcFK+7ZKhd5dvqwtMf2MWiGsLi2hSpxwBM763o2yv0zbQVQQD0N17ehyzYaXy31HY4PIndCsXGzUbP1l3GcDSlgnn7LLgVZD5AfmNxPJvFrAMyLyq9wwJBj2+MG89ODXGwyV3eQoIZLTGQKBgGlOaSzoZVrJ1OYgOUB2NJM2IqSTrYl+JNBsixsNY5DstYjEm9DNSvBBpQXb07GyrkbF6I9Xh89JRuzs+hfE5oCX4Tb2zblg/kr4SacHHVXk3vFG3SZnPZ6vlAJEKu87CysbW1N7+F4tjKBqS9s6o1OTxiLhYukI5Xz2KSPy9LGBAoGBANkQktDJwjqEPxjdpmLMczNI1NrEjXtP21Dt+axIBevaN4oqFm+WCX/93L7U62LFCZ5Bs3ipeRJaEH6uHI1zyL+25BZZkzxHy9vHz9IPsPIRiJO66njYGTwBGrQE7oZ06IUMdQycjpq47KjoYqMPgnIBLaNXYX6FmXt7nw+E4TURAoGAOV0QlXGF1u6ybOGaPAWO1T5n/y3+dkwe3E9vygvk7vob+Av87rsJCAav1U6qXsxmGn4dMiOqbsUZtIhXxbArc9xsCv+SO3chN8GMcVlaYANYWLJyvsL7kYTwhgc8oZ8DoXh4+fTtGDNtV7/0df7NP8GqQi9Ua9FTk6OMjjNhekQ=')
INSERT INTO APP_PROPERTY VALUES('instance.home','/home/stash')
INSERT INTO APP_PROPERTY VALUES('instance.name','Stash')
INSERT INTO APP_PROPERTY VALUES('server.id','BIU6-YNCG-OUYQ-FXVU')
INSERT INTO HIBERNATE_UNIQUE_KEY VALUES(4)
INSERT INTO ID_SEQUENCE VALUES('granted_permission',21)
INSERT INTO ID_SEQUENCE VALUES('current_app',21)
INSERT INTO PLUGIN_SETTING VALUES('stash.global.settings','AO_FB71B4_#',12)
INSERT INTO PLUGIN_SETTING VALUES('stash.global.settings','audit.cleanup.last.run',13)
INSERT INTO PLUGIN_SETTING VALUES('stash.global.settings','com.atlassian.activeobjects.admin.ActiveObjectsPluginToTablesMapping',22)
INSERT INTO STA_PERMISSION_TYPE VALUES(0,1000)
INSERT INTO STA_PERMISSION_TYPE VALUES(1,3000)
INSERT INTO STA_PERMISSION_TYPE VALUES(2,2000)
INSERT INTO STA_PERMISSION_TYPE VALUES(3,4000)
INSERT INTO STA_PERMISSION_TYPE VALUES(4,6000)
INSERT INTO STA_PERMISSION_TYPE VALUES(5,7000)
INSERT INTO STA_PERMISSION_TYPE VALUES(6,9000)
INSERT INTO STA_PERMISSION_TYPE VALUES(7,10000)
INSERT INTO STA_PERMISSION_TYPE VALUES(8,5000)
INSERT INTO STA_PERMISSION_TYPE VALUES(9,0)
INSERT INTO STA_GLOBAL_PERMISSION VALUES(1,9,'stash-users',NULL)

Zerion Mini Shell 1.0