delete dangling files

This commit is contained in:
2026-01-30 23:51:24 +03:00
parent 8309a5dc0e
commit 68d0e9a540
3 changed files with 0 additions and 37 deletions

View File

@@ -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

BIN
server

Binary file not shown.

View File

@@ -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
1 Артикул Описание Категория Количество Цена за единицу Сумма
2 CPU_Intel_8462Y+ CPU 2 1940.00 3880.00
3 GPU_NV_H200_141GB_SXM_(HGX) GPU 8 27771.75 222174.00
4 MB_INTEL_4.Saphire(Emerald)Rapids_2S_32xDDR5_HGX8 MB 1 2816.19 2816.19
5 MEM_DDR5_64G_5600 MEM 32 2556.00 81792.00
6 NIC_2p100G_MCX623106## NIC 2 737.50 1475.00
7 PS_2700W_Titanium PS 6 561.00 3366.00
8 PS_3200W_Titanium PS 2 1014.79 2029.58
9 SSD_NVME_01.92T SSD 5 253.00 1265.00
10 ИТОГО: 318797.77