9 lines
177 B
Bash
Executable File
9 lines
177 B
Bash
Executable File
#!/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
|