diff --git a/README.md b/README.md index ead1687..5b1f0af 100644 --- a/README.md +++ b/README.md @@ -68,3 +68,13 @@ npm run migration:push ``` Which will commit changes to the database. The database changes will be pushed to the **public** schema, whereas a meta record will be pushed to the **\_\_drizzle_migrations** schema. + +## Inserting users into the database + +In order to insert a user into the database, simply run + +``` +node -r esbuild-register src/app/db/create_user.ts khalim@hestia.homes Khalim +``` + +Since we're using just the built in process arguments to read command line arguments, the ordering of arguments needs to be email address and then name