diff --git a/doc_db/LayoutwithTools.svg b/doc_db/LayoutwithTools.svg deleted file mode 100644 index a89295c..0000000 --- a/doc_db/LayoutwithTools.svg +++ /dev/null @@ -1,328 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Plugin materiels database - (c) DbSchema - Hover columns to read the comments. - - - - - - Fk Fk_plugin_materiels_entry -plugin_materiels_entry ref plugin_materiels_equipment ( equipment_id -> id ) - -Fk Fk_plugin_materiels_entry -plugin_materiels_entry ref plugin_materiels_equipment ( equipment_id -> id ) -Fk_plugin_materiels_entry - - - Fk Fk_plugin_materiels_output -plugin_materiels_output ref plugin_materiels_equipment ( equipment_id -> id ) - -Fk Fk_plugin_materiels_output -plugin_materiels_output ref plugin_materiels_equipment ( equipment_id -> id ) -Fk_plugin_materiels_output - - - Fk Fk_plugin_materiels_equipment -plugin_materiels_equipment ref plugin_materiels_category ( category_id -> id ) - -Fk Fk_plugin_materiels_equipment -plugin_materiels_equipment ref plugin_materiels_category ( category_id -> id ) -Fk_plugin_materiels_equipment - - - - -plugin_materiels_entryTable Default.plugin_materiels_entry - Pk pk_plugin_materiels_entry ( id ) idid -* integer -integer kindkind -* varchar(20) -Achat, Don, Récupération, ... -varchar(20) equipment_numberequipment_number -* integer -integer equipment_idequipment_id -* integer -integerReferences plugin_materiels_equipment ( equipment_id -> id ) - entry_dateentry_date -* date -date additional_commentadditional_comment -varchar(255) -varchar(255) - - - - -plugin_materiels_outputTable Default.plugin_materiels_output - Pk pk_plugin_materiels_output ( id ) idid -* integer -integer kindkind -* varchar(20) -Vente, Don, Prêt, ... -varchar(20) equipment_numberequipment_number -* integer -integer equipment_idequipment_id -* integer -integerReferences plugin_materiels_equipment ( equipment_id -> id ) - output_dateoutput_date -* date -date additional_commentadditional_comment -varchar(255) -varchar(255) - - - - -plugin_materiels_categoryTable Default.plugin_materiels_category - Pk pk_plugin_materiels_category ( id ) idid -* integer -integerReferred by plugin_materiels_equipment ( category_id -> id ) - Unq sqlite_autoindex_plugin_materiels_category_1 ( name ) namename -* varchar(100) -varchar(100) - - - - -plugin_materiels_equipmentTable Default.plugin_materiels_equipment - Pk pk_plugin_materiels_equipment ( id ) idid -* integer -integerReferred by plugin_materiels_entry ( equipment_id -> id ) -Referred by plugin_materiels_output ( equipment_id -> id ) - category_idcategory_id -* integer -integerReferences plugin_materiels_category ( category_id -> id ) - stock_numberstock_number -* integer -integer Unq sqlite_autoindex_plugin_materiels_equipment_1 ( designation ) designationdesignation -* varchar(255) -varchar(255) - \ No newline at end of file diff --git a/doc_db/doc_db.md b/doc_db/doc_db.md index 3d23546..256bd97 100644 --- a/doc_db/doc_db.md +++ b/doc_db/doc_db.md @@ -1,6 +1,6 @@ ## Plugin materiels database -![img](./LayoutwithTools.svg) +![img](./schema.png) ### Table plugin_materiels_category | Idx | Field Name | Data Type | diff --git a/doc_db/shema.png b/doc_db/shema.png new file mode 100644 index 0000000..2be8f41 Binary files /dev/null and b/doc_db/shema.png differ