9 lines
177 B
Bash
9 lines
177 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if [ "$(id -u)" != "0" ]; then
|
||
|
echo -e "\033[31mThis script requires superuser rights.\033[0m"
|
||
|
exit 0
|
||
|
fi
|
||
|
|
||
|
sudo docker exec -it users npx sequelize db:migrate
|