add a convenient yarn mysql-admin just for me

I use this as an easy shortcut to log into the prod database, with credentials that have more permissions than the app currently does 😅
This commit is contained in:
Emi Matchu 2020-08-11 22:07:56 -07:00
parent 947d35fbfb
commit 3411914680

View file

@ -36,7 +36,8 @@
"test": "react-app-rewired test --env=jsdom",
"eject": "react-scripts eject",
"setup-mysql-user": "mysql -h impress.openneo.net -u matchu -p < setup-mysql-user.sql",
"mysql": "mysql --host=impress.openneo.net --user=$(dotenv -p IMPRESS_MYSQL_USER) --password=$(dotenv -p IMPRESS_MYSQL_PASSWORD) --database=openneo_impress"
"mysql": "mysql --host=impress.openneo.net --user=$(dotenv -p IMPRESS_MYSQL_USER) --password=$(dotenv -p IMPRESS_MYSQL_PASSWORD) --database=openneo_impress",
"mysql-admin": "mysql --host=impress.openneo.net --user=matchu --password --database=openneo_impress"
},
"eslintConfig": {
"extends": "react-app"