
Security News
GitHub Actions Pricing Whiplash: Self-Hosted Actions Billing Change Postponed
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.
nicassa-parser-db
Advanced tools
nicassa-parser-db is a CLI toolkit for reading Database Schema for MS-SQL, MySQL, PostgreSQL and SQLite 3. It's intended to be used with nicassa-generator for source code generation.
$ sudo npm install -g nicassa-parser-db
Please note nicassa-parser-db is written in TypeScript.
# create a new schema file
$ nicassa-parser-db init -f schema.json
# optional step: edit the schema and add a connection string
$ vi schema.json
{
"formatVersion": "1.0",
"sequelizeConnect": {
"options": {
"dialect": "sqlite",
"storage": "schema.db"
}
}
}
# create sqlite3 demo database
$ sqlite3 schema.db
CREATE TABLE Roles (
RoleID INTEGER PRIMARY KEY AUTOINCREMENT,
RoleName TEXT NOT NULL
);
CREATE TABLE Users (
UserID INTEGER PRIMARY KEY AUTOINCREMENT,
RoleID INTEGER NOT NULL,
UserName TEXT NOT NULL,
FOREIGN KEY (RoleID) REFERENCES Roles(RoleID)
);
# update the schema (if you added the connection string)
$ nicassa-db-parser update -f schema.json
# update the schema (connection string as parameter, e.g. MS-SQL, MySQL, PostgreSQL)
$ nicassa-db-parser update -f schema.json -u 'postgres://user:pass@example.com:5432/dbname'
{
"filter": {
"excludeTables": false,
"excludeViews": false,
"exculdeColumns": [],
"exculde": [],
"only": []
}
}
{
"nicassaParserDB": {
"formatVersion": "1.0",
"lastUpdateUTC": "Mon, 02 Jan 2017 23:43:48 GMT",
"sequelizeConnect": {
"options": {
"dialect": "sqlite",
"storage": "./test.db",
"benchmark": true,
"logging": false
}
},
"filter": {
"excludeTables": false,
"excludeViews": false,
"exculdeColumns": [],
"exculde": [],
"only": []
},
"schema": {
"dialect": "sqlite",
"tables": [
{
"name": "Roles",
"columns": [
{
"name": "RoleID",
"dataType": "INTEGER",
"nullable": true,
"defaultValue": null,
"length": null,
"precision": null,
"pk": true,
"referencedTableName": null,
"referencedColumnName": null
},
{
"name": "RoleName",
"dataType": "TEXT",
"nullable": false,
"defaultValue": null,
"length": null,
"precision": null,
"pk": false,
"referencedTableName": null,
"referencedColumnName": null
}
]
},
{
"name": "Users",
"columns": [
{
"name": "UserID",
"dataType": "INTEGER",
"nullable": true,
"defaultValue": null,
"length": null,
"precision": null,
"pk": true,
"referencedTableName": null,
"referencedColumnName": null
},
{
"name": "RoleID",
"dataType": "INTEGER",
"nullable": false,
"defaultValue": null,
"length": null,
"precision": null,
"pk": false,
"referencedTableName": "Roles",
"referencedColumnName": "RoleID"
},
{
"name": "UserName",
"dataType": "TEXT",
"nullable": false,
"defaultValue": null,
"length": null,
"precision": null,
"pk": false,
"referencedTableName": null,
"referencedColumnName": null
}
]
}
],
"views": []
}
}
}
FAQs
CLI based schema 2 JSON parser for Sequelize
We found that nicassa-parser-db demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.