mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
* chore: Move httpmw to /coderd directory httpmw is specific to coderd and should be scoped under coderd * chore: Move httpapi to /coderd directory httpapi is specific to coderd and should be scoped under coderd * chore: Move database to /coderd directory database is specific to coderd and should be scoped under coderd * chore: Update codecov & gitattributes for generated files * chore: Update Makefile
15 lines
233 B
Bash
Executable File
15 lines
233 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
if [ -z "$1" ]; then
|
|
echo "First argument is the migration name!"
|
|
exit 1
|
|
fi
|
|
|
|
migrate create -ext sql -dir . -seq "$1"
|
|
|
|
echo "Run \"make gen\" to generate models."
|