| <?xml version="1.1" encoding="UTF-8" standalone="no"?> |
| xmlns="http://www.liquibase.org/xml/ns/dbchangelog" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| http://www.liquibase.org/xml/ns/dbchangelog |
| http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.10.xsd"> |
| <changeSet author="mulk" id="1.3-1"> |
| <createTable tableName="post_texts" schemaName="benki"> |
| <column name="post" type="integer"> |
| primaryKeyName="post_texts_pkey" |
| foreignKeyName="post_texts_post_fkey" |
| referencedTableSchemaName="benki" |
| referencedTableName="posts" |
| referencedColumnNames="id"/> |
| <column name="language" type="varchar"> |
| primaryKeyName="lazychat_message_texts_pkey" |
| checkConstraint="IN ('', 'de', 'en', 'fr', 'ja', 'la')"/> |
| <renameColumn tableName="lazychat_message_texts" schemaName="benki" oldColumnName="lazychat_message" newColumnName="post"/> |
| <renameColumn tableName="bookmark_texts" schemaName="benki" oldColumnName="bookmark" newColumnName="post"/> |
| ALTER TABLE benki.lazychat_message_texts INHERIT benki.post_texts; |
| ALTER TABLE benki.bookmark_texts INHERIT benki.post_texts; |