
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
arangomigration
Advanced tools
This tool will help you to manage your ArangoDB with migration file to easily create users, document, indexes & views from a simple folder with yaml files.
It can also insert default data from the same folder.
# install localy, so you can use it with npx in your folder
npm install arangomigration
# or install globaly to get access to the cli from anywhere
npm install -g arangomigration
x.x.x-add-a-collection.ymlYour folder should look like this:
./migration
├── 1.0.0-mvp-needs.yml
└── 1.0.1-add-missing-index.yml
database: my-database
create:
users:
- username: user1
password: usernamepassword
collection:
- name: dogs
- name: dogSitter
edgeCollection:
- name: dogSitterDogs
indexes:
- name: oneDogSitterForADog
collection: dogSitterDogs
type: persistent
unique: true
fields:
- _from
- _to
This migration file will do:
my-database database if not existuser1 user in _system databasedogSitterDogs to ensure that a dog has only a dog sitterThis tool is a cli, so you can basicly use this command line
(npx) arangomigration migrate
$ arangomigration arangomigration --help
Usage: arangomigration [options] [command]
Options:
-v, --version output the version number
-h, --help display help for command
Commands:
apply [options] [directory] Apply all migration files from a directory
status [options] [directory] Check local file and compare to previously applied migration
help [command] display help for command
$ arangomigration apply --help
Usage: arangomigration apply [options] [directory]
Apply all migration files from a directory
Options:
--url <url> URL of your database (default: "http://localhost:8529")
--username <username> System username (default: "root")
--password <password> System user password (default: "root")
--insert-data <boolean> Insert data from ~/your-migration-folder/data (default: true)
-h, --help display help for command
$ arangomigration status --help
Usage: arangomigration status [options] [directory]
Check local file and compare to previously applied migration
Options:
--url <url> URL of your database (default: "http://localhost:8529")
--username <username> System username (default: "root")
--password <password> System user password (default: "root")
-h, --help display help for command
FAQs
ArangoDB migration cli tool
The npm package arangomigration receives a total of 0 weekly downloads. As such, arangomigration popularity was classified as not popular.
We found that arangomigration 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.