This commit is contained in:
Benjamin Toby
2025-02-16 17:12:40 +01:00
parent e9761cc971
commit e95f4d1087
628 changed files with 3091 additions and 1073 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash
checkvariablecnt=$#
if [ $checkvariablecnt == 4 ]; then
echo "Migrate to an existing [ $3 ]schema. "
mysql -u$1 -p$2 --database=$3 < $4
else
echo "Migrate file $3 "
mysql -u$1 -p$2 < $3
fi