Skip to content

Commit

Permalink
Fix Migration
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeSyncr committed Oct 9, 2023
1 parent 7a8f2b6 commit 90567c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions instructions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
Expand Down Expand Up @@ -116,7 +116,7 @@ function makeMigration(
* Prompts user for the model name
*/
async function getModelName(sink: typeof sinkStatic): Promise<string> {
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
},
Expand All @@ -127,7 +127,7 @@ async function getModelName(sink: typeof sinkStatic): Promise<string> {
* Prompts user for the table name
*/
async function getTableName(sink: typeof sinkStatic): Promise<string> {
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
},
Expand Down

0 comments on commit 90567c3

Please sign in to comment.