forked from cerc-io/ipld-eth-server
10 lines
195 B
Bash
Executable File
10 lines
195 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ $# -eq 1 ]
|
|
then
|
|
$GOPATH/bin/migrate create -dir ./db/migrations -ext sql $1
|
|
else
|
|
echo "**An Error Occurred**"
|
|
echo "Usage: ./scripts/create_migration <migration-name>"
|
|
fi
|