npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

sequelize-cli-mod

v6.0.0-beta.5

Published

The Sequelize CLI

Downloads

95

Readme

sequelize/cli npm version Build Status

The Sequelize Command Line Interface (CLI)

Table of Contents

Installation

Make sure you have Sequelize installed. Then install the Sequelize CLI to be used in your project with

npm install --save-dev sequelize-cli-mod // will install v5
npm install --save-dev sequelize-cli-mod@next // will install v6

And then you should be able to run the CLI with

npx sequelize-mod --help

Usage

Sequelize CLI [Node: 10.15.0, CLI: 5.5.0, ORM: 5.11.0]

npx sequelize-mod [command]

Commands:
  sequelize-mod db:migrate                        Run pending migrations
  sequelize-mod db:migrate:schema:timestamps:add  Update migration table to have timestamps
  sequelize-mod db:migrate:status                 List the status of all migrations
  sequelize-mod db:migrate:undo                   Reverts a migration
  sequelize-mod db:migrate:undo:all               Revert all migrations ran
  sequelize-mod db:seed                           Run specified seeder
  sequelize-mod db:seed:undo                      Deletes data from the database
  sequelize-mod db:seed:all                       Run every seeder
  sequelize-mod db:seed:undo:all                  Deletes data from the database
  sequelize-mod db:create                         Create database specified by configuration
  sequelize-mod db:drop                           Drop database specified by configuration
  sequelize-mod init                              Initializes project
  sequelize-mod init:config                       Initializes configuration
  sequelize-mod init:migrations                   Initializes migrations
  sequelize-mod init:models                       Initializes models
  sequelize-mod init:seeders                      Initializes seeders
  sequelize-mod migration:generate                Generates a new migration file       [aliases: migration:create]
  sequelize-mod model:generate                    Generates a model and its migration  [aliases: model:create]
  sequelize-mod seed:generate                     Generates a new seed file            [aliases: seed:create]

Options:
  --version  Show version number                                         [boolean]
  --help     Show help                                                   [boolean]

Contributing

Sequelize CLI is always looking for contributions. You can help us by fixing bugs, reporting bugs or improving documentation.

Please read the contributing guidelines.

Documentation