Skip to content

asaad2121/Wing-Go-API

Repository files navigation

Wing-Go-API

Updating the Models (e.g., "Users")

After updating your models, follow these steps to create and apply migrations:

  1. Generate a Migration
    Run the following command to create a new migration file:

    npm run create-migration update-users-schema
    
  2. **Update the Migration File Open the newly created migration file and make the necessary adjustments to reflect your model changes.

  3. Run the migration

    npm run migrate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published