Skip to content

typeclasses/sqlite-structure-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sqlite-structure

For fetching a description of a SQLite database.

The purpose of this package is to facilitate testing database migrations. A migration system generally includes two ways to create the same database structure: One is a step-by-step walkthrough of the database's history that is used to upgrade existing instances of the database, and one is a complete description of the final state after all migrations have been applied. It should be the case both routes end up constructing the same database structure.

This package uses several pragma functions that SQLite offers to describe its tables, their columns, and their indexes. It produces a value that is suitable for comparison or use in a snapshot test.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published