Rename constructFn to promptConstructor

It's a clearer name. Also reorganize the filesystem so all the promptConstructor related files are colocated.
This commit is contained in:
Kyle Corbitt
2023-08-04 23:09:39 -07:00
parent 01dcbfc896
commit e10589abff
24 changed files with 111 additions and 74 deletions

View File

@@ -5,8 +5,8 @@ set -e
echo "Migrating the database"
pnpm prisma migrate deploy
echo "Migrating constructFns"
pnpm tsx src/server/migratePrompts/index.ts
echo "Migrating promptConstructors"
pnpm tsx src/promptConstructor/migrate.ts
echo "Starting the server"