模型库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cmd_db.bat 455 B

4 kuukautta sitten
4 kuukautta sitten
4 kuukautta sitten
4 kuukautta sitten
4 kuukautta sitten
4 kuukautta sitten
4 kuukautta sitten
12345678910111213141516171819202122232425
  1. @echo off
  2. set Table=*
  3. set TName=""
  4. set one=%1
  5. if "%one%" NEQ "" (
  6. set Table=%one%
  7. set TName="^%one%$"
  8. )
  9. set BasePath="./"
  10. set DBUSER="root"
  11. set DBPSW="Fnuo123com@"
  12. set DBNAME="advertisement"
  13. set DBHOST="119.23.182.117"
  14. set DBPORT="3306"
  15. del "src\model\%Table%.go"
  16. echo start reverse table %Table%
  17. xorm reverse mysql "%DBUSER%:%DBPSW%@tcp(%DBHOST%:%DBPORT%)/%DBNAME%?charset=utf8" %BasePath%/etc/db_tpl %BasePath%/src/model/ %TName%
  18. echo end