mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 10:26:53 +00:00
43 lines
1.3 KiB
XML
43 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
~ Copyright 2013-2020 Signal Messenger, LLC
|
|
~ SPDX-License-Identifier: AGPL-3.0-only
|
|
-->
|
|
|
|
<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 id="1" author="moxie">
|
|
<createTable tableName="abusive_host_rules">
|
|
<column name="id" type="bigint" autoIncrement="true">
|
|
<constraints primaryKey="true" nullable="false"/>
|
|
</column>
|
|
|
|
<column name="host" type="inet">
|
|
<constraints nullable="false" unique="true"/>
|
|
</column>
|
|
|
|
<column name="blocked" type="tinyint">
|
|
<constraints nullable="false"/>
|
|
</column>
|
|
|
|
<column name="regions" type="text"/>
|
|
</createTable>
|
|
|
|
<createIndex tableName="abusive_host_rules" indexName="host_index">
|
|
<column name="host"/>
|
|
</createIndex>
|
|
</changeSet>
|
|
|
|
<changeSet id="2" author="moxie">
|
|
<addColumn tableName="abusive_host_rules">
|
|
<column name="notes" type="text"/>
|
|
</addColumn>
|
|
</changeSet>
|
|
|
|
</databaseChangeLog>
|