mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
* feat: Add parameter and jobs database schema This modifies a prior migration which is typically forbidden, but because we're pre-production deployment I felt grouping would be helpful to future contributors. This adds database functions that are required for the provisioner daemon and job queue logic. * Add comment to acquire provisioner job query * PostgreSQL hates running in parallel
12 lines
211 B
Bash
Executable File
12 lines
211 B
Bash
Executable File
#!/usr/bin/env bash
|
|
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."
|