Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Re : cvc-complex-type.2.3: Element 'createTable' cannot have character [children]

$
0
0
Here is the changeset xml for that table:

  <changeSet author="root (generated)" id="1484939656104-1">
        <createTable tableName="ACCOUNT_PHONE_NUMBER">
            <column autoIncrement="true" name="ID" remarks="Identity column and will be auto generated" type="INT UNSIGNED">
                <constraints primaryKey="true"/>
            </column>
            <column name="PHONE_NUMBER" remarks="The phone number allocated to the account" type="VARCHAR(12)">
                <constraints nullable="false"/>
            </column>
            <column name="COMMUNICATION_ACCOUNT_ID" remarks="The communication account to which this phone number belongs to" type="INT UNSIGNED">
                <constraints nullable="false"/>
            </column>
            <column defaultValueBoolean="false" name="SMS_CAPABLE" remarks="This flag tells whether twilio number supports sms or not" type="BIT(1)">
                <constraints nullable="false"/>
            </column>
            <column defaultValueBoolean="false" name="MMS_CAPABLE" remarks="This flag tells whether twilio number supports mms or not" type="BIT(1)">
                <constraints nullable="false"/>
            </column>
            <column defaultValueBoolean="false" name="VOICE_CAPABLE" remarks="This flag tells whether twilio number supports voice or not" type="BIT(1)">
                <constraints nullable="false"/>
            </column>
            <column defaultValue="ACTIVE" name="STATUS" remarks="The status of the communication request" type="ENUM('ACTIVE', 'INACTIVE')">
                <constraints nullable="false"/>
            </column>
            <column name="STATUS_TLM" remarks="The time the status got updated" type="datetime(6)">
                <constraints nullable="false"/>
            </column>
            <column name="WHEN_CREATED" remarks="The time this account is created" type="datetime(6)">
                <constraints nullable="false"/>
            </column>
            <column defaultValueComputed="CURRENT_TIMESTAMP" name="TLM" type="TIMESTAMP(19)">
                <constraints nullable="false"/>
            </column>
        </createTable>


Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>