diff --git a/apply_migration.sh b/apply_migration.sh deleted file mode 100755 index 31a739d..0000000 --- a/apply_migration.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -# Apply migration to add custom_price column -# Usage: ./apply_migration.sh - -# Load database config from config.yaml or environment -DB_HOST="${DB_HOST:-localhost}" -DB_PORT="${DB_PORT:-3306}" -DB_NAME="${DB_NAME:-RFQ_LOG}" -DB_USER="${DB_USER:-root}" -DB_PASS="${DB_PASS}" - -echo "Applying migration: 002_add_custom_price.sql" -echo "Database: $DB_NAME at $DB_HOST:$DB_PORT" - -if [ -z "$DB_PASS" ]; then - mysql -h "$DB_HOST" -P "$DB_PORT" -u "$DB_USER" "$DB_NAME" < migrations/002_add_custom_price.sql -else - mysql -h "$DB_HOST" -P "$DB_PORT" -u "$DB_USER" -p"$DB_PASS" "$DB_NAME" < migrations/002_add_custom_price.sql -fi - -if [ $? -eq 0 ]; then - echo "Migration applied successfully!" -else - echo "Migration failed!" - exit 1 -fi diff --git a/server b/server deleted file mode 100755 index 4a9efd7..0000000 Binary files a/server and /dev/null differ diff --git a/test_export.csv b/test_export.csv deleted file mode 100644 index 77c7e77..0000000 --- a/test_export.csv +++ /dev/null @@ -1,10 +0,0 @@ -Артикул,Описание,Категория,Количество,Цена за единицу,Сумма -CPU_Intel_8462Y+,,CPU,2,1940.00,3880.00 -GPU_NV_H200_141GB_SXM_(HGX),,GPU,8,27771.75,222174.00 -MB_INTEL_4.Saphire(Emerald)Rapids_2S_32xDDR5_HGX8,,MB,1,2816.19,2816.19 -MEM_DDR5_64G_5600,,MEM,32,2556.00,81792.00 -NIC_2p100G_MCX623106##,,NIC,2,737.50,1475.00 -PS_2700W_Titanium,,PS,6,561.00,3366.00 -PS_3200W_Titanium,,PS,2,1014.79,2029.58 -SSD_NVME_01.92T,,SSD,5,253.00,1265.00 -,,,,ИТОГО:,318797.77