Skip to content

Javascript library for saving the schema of a SQLite database to file(s)

Notifications You must be signed in to change notification settings

st-pasha/sql-schemer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sql-schemer

This module will open an sqlite database file, read the schemas of all available SQL objects, and store them into a .sql file or a set of files. If the target file already exists, then it will attempt to keep the existing formatting and comments as-is.

import { saveSchemaToFile } from "sql-schemer";

saveSchemaToFile("./db/main.sqlite", "./db/main.sql");

About

Javascript library for saving the schema of a SQLite database to file(s)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published