product_idint(11)NOTNULLCOMMENT'Primary Key for Database referencing',
manufacturervarchar(50)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'The mane of the manufacturer',
product_novarchar(50)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'The product No of the manufacturer ',
core_productvarchar(50)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'Core product no of the manufacturer ',
ordering_codevarchar(50)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'Ordering code from the manufacturer, if it is different than the product no',
descriptionvarchar(300)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'A brief and simple description of the article',
statusvarchar(50)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'Actual status of the products life cycle',
buy_costfloatNOTNULLCOMMENT'our standard buy price.',
pricing_schemevarchar(50)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'If the manufacturer of the product allows a pricing scheme for this product',
price_change_flagtinyint(1)NOTNULLCOMMENT'did the price changed since the last update ? this flag should be carefully monitored to be sure that every client was informed before resetting it !!!',
currencyvarchar(6)NOTNULLCOMMENT'The currency with which the manufaturer sells'
lead_time_daysint(11)NOTNULLCOMMENT'Actual lead time on this product in days',
physical_formvarchar(50)NOTNULLCOMMENT'The physical form of the product. is it a flower ? or is it a box or is it tssop18 packaged IC ?',
packingvarchar(50)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'Available packing options for the product, plastic wrap, tray, bulk, reel and so on.',
packing_sizeint(11)NOTNULLCOMMENT'How many items are there in one packing ? Ex : A basket of 50 tomatoes. ',
minimum_order_quantityint(11)NOTNULLCOMMENT'What is the minimum order quantity that the manufacturer allows. no one will send you only one flower seed. ',
product_idint(11)NOTNULLCOMMENT'Primary Key for Database referencing',
manufacturervarchar(50)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'The mane of the manufacturer',
product_novarchar(50)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'The product No of the manufacturer ',
core_productvarchar(50)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'Core product no of the manufacturer ',
ordering_codevarchar(50)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'Ordering code from the manufacturer, if it is different than the product no',
descriptionvarchar(300)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'A brief and simple description of the article',
statusvarchar(50)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'Actual status of the products life cycle',
buy_costfloatNOTNULLCOMMENT'our standard buy price.',
pricing_schemevarchar(50)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'If the manufacturer of the product allows a pricing scheme for this product',
price_change_flagtinyint(1)NOTNULLCOMMENT'did the price changed since the last update ? this flag should be carefully monitored to be sure that every client was informed before resetting it !!!',
currencyvarchar(6)NOTNULLCOMMENT'The currency with which the manufaturer sells',
lead_time_daysint(11)NOTNULLCOMMENT'Actual lead time on this product in days',
physical_formvarchar(50)NOTNULLCOMMENT'The physical form of the product. is it a flower ? or is it a box or is it tssop18 packaged IC ?',
packingvarchar(50)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'Available packing options for the product, plastic wrap, tray, bulk, reel and so on.',
packing_sizeint(11)NOTNULLCOMMENT'How many items are there in one packing ? Ex : A basket of 50 tomatoes. ',
minimum_order_quantityint(11)NOTNULLCOMMENT'What is the minimum order quantity that the manufacturer allows. no one will send you only one flower seed. ',
minimum_awarding_quantityint(11)NOTNULLCOMMENT'If we support an customer of ours and the manufacturer proposes a special pricing condition for this product. This is the quantity that must be reached before we can be awarded for our efforts in order to get the promised special price. ',
minimum_quote_quantityint(11)NOTNULLCOMMENT'If no special pricing conditions are available, this is the first price break quantity. for the rest a quotation should be asked. ',
proposed_marginint(11)NOTNULLCOMMENT'Margins defined/proposed by the organisation for this article ',
containervarchar(50)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'Shipping container form of the packaged product.',
container_sizeint(11)NOTNULLCOMMENT'How many items are there in one shipping container ? 5 baskets of 50 tomatoes for a total of 250 tomatoes.',
product_classint(11)NOTNULLCOMMENT'Class of product. \r\nThis should be defined by the organisation.',
product_categoryint(11)NOTNULLCOMMENT'Category of the product. \r\nThis should be linked to the product_categories_table defined by the organisation.',
product_familyint(11)NOTNULLCOMMENT'Family of the product. \r\nThis should be defined by the organisation.',
product_groupint(11)NOTNULLCOMMENT'Group of the product. \r\nThis should be defined by the organisation.',
last_update_datedateNOTNULLCOMMENT'Last date that this product has had an updated field',
last_time_buy_datedateNOTNULLCOMMENT'Last time that this product can be purchased',
obsolete_datedateNOTNULLCOMMENT'The date since/at which this product will be declared obsolete',
pollution_levelvarchar(50)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'Depending on the Product some pollution level requirement can be met or not.',
production_sitevarchar(20)NOTNULLCOMMENT'The production site for this product. This should be linked to the manufacturer profile.',
comment_manufacturervarchar(200)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'Comments fomr the manufaturer'
minimum_quote_quantityint(11)NOTNULLCOMMENT'If no special pricing conditions are available, this is the first price break quantity. for the rest a quotation should be asked. ',
proposed_marginint(11)NOTNULLCOMMENT'Margins defined/proposed by the organisation for this article ',
containervarchar(50)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'Shipping container form of the packaged product.',
container_sizeint(11)NOTNULLCOMMENT'How many items are there in one shipping container ? 5 baskets of 50 tomatoes for a total of 250 tomatoes.',
product_classint(11)NOTNULLCOMMENT'Class of product. \r\nThis should be defined by the organisation.',
product_categoryint(11)NOTNULLCOMMENT'Category of the product. \r\nThis should be linked to the product_categories_table defined by the organisation.',
product_familyint(11)NOTNULLCOMMENT'Family of the product. \r\nThis should be defined by the organisation.',
product_groupint(11)NOTNULLCOMMENT'Group of the product. \r\nThis should be defined by the organisation.',
last_update_datedateNOTNULLCOMMENT'Last date that this product has had an updated field',
last_time_buy_datedateNOTNULLCOMMENT'Last time that this product can be purchased',
obsolete_datedateNOTNULLCOMMENT'The date since/at which this product will be declared obsolete',
pollution_levelvarchar(50)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'Depending on the Product some pollution level requirement can be met or not.',
production_sitevarchar(20)NOTNULLCOMMENT'The production site for this product. This should be linked to the manufacturer profile.',
comment_manufacturervarchar(200)COLLATEutf8mb4_unicode_ciNOTNULLCOMMENT'Comments fomr the manufaturer',
mysql -h $MARIADB_HOST -u $MARIADB_USER -p$MARIADB_PASS -e "LOAD DATA INFILE '/home/output.csv' IGNORE INTO TABLE minibase_material.products FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' IGNORE 1 LINES ; SHOW WARNINGS"