Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 4734b847 authored by Nicolas's avatar Nicolas
Browse files

Création de la bdd

parent fe882ded
No related branches found
No related tags found
No related merge requests found
<?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="sales_order" resource="sales" comment="Sales Flat Order">
<column xsi:type="smallint" name="nb_sales_exported_data" padding="5" unsigned="false" nullable="true" identity="false"
comment="Exported Data"/>
</table>
<table name="sales_invoice" resource="sales" comment="Sales Flat Invoice">
<column xsi:type="smallint" name="nb_sales_exported_data" padding="5" unsigned="false" nullable="true" identity="false"
comment="Exported Data"/>
</table>
<table name="sales_shipment" resource="sales" comment="Sales Flat Shipment">
<column xsi:type="smallint" name="nb_sales_exported_data" padding="5" unsigned="false" nullable="true" identity="false"
comment="Exported Data"/>
</table>
<table name="sales_creditmemo" resource="sales" comment="Sales Flat Creditmemo">
<column xsi:type="smallint" name="nb_sales_exported_data" padding="5" unsigned="false" nullable="true" identity="false"
comment="Exported Data"/>
<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
<table name="nicolasbejean_sales_orderexporter" resource="default" engine="innodb" comment="Sales Order Export Table">
<column xsi:type="smallint" name="entity_id" padding="6" unsigned="false" nullable="false" identity="true" comment="Sales Order Export Entity ID"/>
<column xsi:type="smallint" name="order_id" padding="6" unsigned="false" nullable="false" identity="false" comment="Sales Order Export Order ID"/>
<column xsi:type="smallint" name="is_exported" padding="6" unsigned="false" nullable="false" identity="false" comment="Sales Order Export Is Exporter"/>
<column xsi:type="timestamp" name="created_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP" comment="Sales Order Export Created At"/>
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="CURRENT_TIMESTAMP" comment="Sales Order Export Updated At"/>
<constraint xsi:type="primary" referenceId="PRIMARY">
<column name="entity_id"/>
</constraint>
</table>
</schema>
{
"nicolasbejean_sales_orderexporter": {
"column": {
"entity_id": true,
"order_id": true,
"is_exported": true,
"created_at": true,
"updated_at": true
},
"constraint": {
"PRIMARY": true
}
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment