liquibase.harness.change.changelogs.mysql.8.createFunctionIndex.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:pro="http://www.liquibase.org/xml/ns/pro" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd"> <changeSet author="Jack" id="1"> <createTable tableName="lb2160"> <column name="id" type="INT"> <constraints nullable="false" primaryKey="true"/> </column> <column name="first_name" type="VARCHAR(50)"/> <column name="last_name" type="VARCHAR(50)"/> </createTable> </changeSet> <changeSet author="Jack" id="2"> <createIndex indexName="idx_lb2160" tableName="lb2160"> <column computed="true" name="(lower(first_name))"/> </createIndex> </changeSet> </databaseChangeLog>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy