From 90567c3d50b6490f6a92adacc73138c255cd5b5a Mon Sep 17 00:00:00 2001 From: CodeSyncr Date: Mon, 9 Oct 2023 21:26:36 +0530 Subject: [PATCH] Fix Migration --- instructions.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/instructions.ts b/instructions.ts index a5f419a..f493ff0 100644 --- a/instructions.ts +++ b/instructions.ts @@ -74,7 +74,7 @@ function makeMigration( const template = new sink.files.MustacheFile( projectRoot, migrationPath, - getStub('migrations/auth.txt') + getStub('migrations/whatsapp_config.txt') ) if (template.exists()) { sink.logger.action('create').skipped(`${migrationPath} file already exists`) @@ -116,7 +116,7 @@ function makeMigration( * Prompts user for the model name */ async function getModelName(sink: typeof sinkStatic): Promise { - return sink.getPrompt().ask('Enter model name to be used for authentication', { + return sink.getPrompt().ask('Enter model name to be used for whatsapp config', { validate(value) { return !!value.trim().length }, @@ -127,7 +127,7 @@ async function getModelName(sink: typeof sinkStatic): Promise { * Prompts user for the table name */ async function getTableName(sink: typeof sinkStatic): Promise { - return sink.getPrompt().ask('Enter the database table name to look up users', { + return sink.getPrompt().ask('Enter the database table name to look up whatsapp config', { validate(value) { return !!value.trim().length },