Files
2026-09-15 10:26:34 +08:00

27 lines
1.9 KiB
XML

<?xml version="1.0" ?>
<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
<table name="webinar_request">
<column xsi:type="int" name="entity_id" unsigned="true" nullable="false" identity="true"
comment="Entity ID"/>
<column xsi:type="int" name="customer_id" unsigned="true" nullable="true" comment="Entity ID"/>
<column xsi:type="varchar" name="email" nullable="false" length="255" comment="Email"/>
<column xsi:type="varchar" name="name" nullable="false" length="255" comment="Name"/>
<column xsi:type="varchar" name="title" nullable="false" length="255" comment="职称"/>
<column xsi:type="varchar" name="mobile" nullable="false" comment="Mobile" />
<column xsi:type="varchar" name="company" nullable="true" length="255" comment="Company"/>
<column xsi:type="varchar" name="state" nullable="true" length="255" comment="省、州、地区"/>
<column xsi:type="varchar" name="city" nullable="true" length="255" comment="城市"/>
<column xsi:type="varchar" name="street" nullable="true" length="255" comment="街道"/>
<column xsi:type="varchar" name="zip" nullable="true" length="255" comment="邮编"/>
<column xsi:type="varchar" name="from" nullable="true" length="255" comment="来源"/>
<column xsi:type="varchar" name="remark" nullable="true" length="255" comment="补充说明"/>
<column xsi:type="timestamp" name="created_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP"
comment="Created At"/>
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="CURRENT_TIMESTAMP"
comment="Updated At"/>
<constraint xsi:type="primary" referenceId="PRIMARY">
<column name="entity_id"/>
</constraint>
</table>
</schema>