ALTER TABLE sma_products ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_settings ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_product_photos ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_product_variants ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_pos_settings ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_payment_methods ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_brands ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_warehouses_products ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_addresses ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_customer_groups ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_companies ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_product_prices ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_biller_data ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_price_groups ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_tax_rates ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_documentypes ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_units ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_unit_prices ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_categories ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_warehouses ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_groups ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_documents_types ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_unit_prices ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_order_sales ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_sales ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_quotes ADD last_update datetime NOT NULL DEFAULT current_timestamp;
ALTER TABLE sma_purchases ADD last_update datetime NOT NULL DEFAULT current_timestamp;

