Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
adonis-schema-builder
Advanced tools
Quickly create adonis migrations, seeds, models and tests for AdonisJS from a schema json file
Build adonis migrations, factories and models with pre-configured relationships from Database Schema.
Based on a schema-builder for laravel and using the same schema format as schema-builder.
This package works with AdonisJS v4. In your project directory you'll need ace, fold and cli installed:
npm install --save @adonisjs/ace @adonisjs/cli @adonisjs/fold
These are all peer dependencies so you will get a warning from NPM if they're not installed first. Then install adonis-schema-builder:
npm install --save adonis-schema-builder
Add the following to your aceProviders
array in start/app.js
:
'adonis-schema-builder/providers/BuilderProvider'
You should now see the schema:build
option when running adonis
or ace
.
Use the schema-builder GUI to design your schema, and export as JSON. All of the table and column options in the schema builder are supported, although some column types might be substituted to supported Knex types.
Run adonis schema:build <path to schema file>
in your project root to import the schema file and generate source files. You will be asked to confirm before overwriting any existing files.
FAQs
Quickly create adonis migrations, seeds, models and tests for AdonisJS from a schema json file
The npm package adonis-schema-builder receives a total of 2 weekly downloads. As such, adonis-schema-builder popularity was classified as not popular.
We found that adonis-schema-builder demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.