This commit is contained in:
Artem.Arefev 2019-05-31 22:42:59 +04:00
parent 330ffc4df1
commit 53307c6add
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,7 @@
package ru.ulstu.user.error;
public class UserBlockedException extends RuntimeException {
public UserBlockedException(String message) {
super(message);
}
}

View File

@ -0,0 +1,12 @@
<?xml version="1.1" 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-3.1.xsd">
<changeSet author="arefyev" id="20190528_000000-3">
<addColumn tableName="users">
<column name="blocker_id" type="integer"/>
</addColumn>
<addForeignKeyConstraint baseTableName="users" baseColumnNames="blocker_id" constraintName="fk_blocker"
referencedTableName="users" referencedColumnNames="id"/>
</changeSet>
</databaseChangeLog>