<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd">
    <changeSet author="fx (generated)" id="1376075921267-8">
        <dropForeignKeyConstraint baseTableName="role_permissions" baseTableSchemaName="public" constraintName="fk_role_permissions_role_id"/>
        <dropUniqueConstraint constraintName="unq_variabledescriptor_0" tableName="variabledescriptor"/>
        <addUniqueConstraint columnNames="gamemodel_gamemodelid, name" constraintName="unq_variabledescriptor_0" deferrable="false" disabled="false" initiallyDeferred="false" tableName="variabledescriptor"/>
        <dropColumn columnName="scope_id" tableName="variableinstance"/>
        <dropTable tableName="abstractaccount_permissions"/>
        <dropTable tableName="role_permissions"/>
    </changeSet>
</databaseChangeLog>

Add unique name constraint to VariableDescriptors in db
Add unique name constraint to VariableDescriptors in db
