Skip to content

gwinans/kpp-test-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kpp-test-app

Test app for knex-ptosc-plugin

This project demonstrates Knex migrations using a MySQL database.

Migrations

Ensure you have a MySQL server running and a database (default test_db) available. Connection settings can be customized via environment variables: DB_HOST, DB_USER, DB_PASSWORD, and DB_NAME. By default the app connects with user testuser and password password.

Run the latest migrations:

npm run migrate

Rollback the last batch:

npm run rollback

The migration files live in the migrations/ directory and are configured via knexfile.js.

About

Test app for knex-ptosc-plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •