<?xml version="1.0" encoding="iso-8859-1" ?>

<table>
  <base>CRM/Phoneinputmask</base>
  <class>PhoneInputMask</class>
  <name>civicrm_phone_input_mask</name>
  <comment>Mask settings for phone types</comment>
  <log>true</log>

  <field>
    <name>id</name>
    <type>int unsigned</type>
    <required>true</required>
    <comment>Unique PhoneInputMask ID</comment>
    <html>
      <type>Number</type>
    </html>
  </field>
  <primaryKey>
    <name>id</name>
    <autoincrement>true</autoincrement>
  </primaryKey>

  <field>
    <name>title</name>
    <type>varchar</type>
    <length>255</length>
    <required>false</required>
  </field>

  <field>
    <name>name</name>
    <type>varchar</type>
    <length>255</length>
    <required>false</required>
  </field>

  <field>
    <name>type</name>
    <title>Type</title>
    <type>varchar</type>
    <required>true</required>
    <length>255</length>
  </field>
  <field>
    <name>configuration</name>
    <title>Configuration</title>
    <type>text</type>
    <required>false</required>
    <length>255</length>
    <serialize>JSON</serialize>
  </field>

  <field>
    <name>is_active</name>
    <title>Is active</title>
    <type>boolean</type>
    <required>true</required>
  </field>


</table>
