sails-migrations - The missing, migrations, arm of the octopus

  •        41

sails-migrations provides an easy way to manage database migrations with sails, based on the amazing lib. This means you can have fine-grained control over your schema/data transformations between versions. sails-migrations supports sails versions 0.9X up to 0.11.2, for both MySQL & PostgreSQL.


bluebird : 1.1.1
chalk : 0.5.1
cli-table : 0.3.1
commander : 2.6.0
interpret : 0.3.7
knex : ^0.13.0
liftoff : ^2.2.1
lodash : 2.4
optimist : 0.6.1
tildify : 1.0.0



Related Projects

sails-mongo - MongoDB adapter for Sails.js / Waterline ORM.

  •    Javascript

Sails.js/Waterline adapter for MongoDB.Provides easy access to MongoDB from Sails.js & Waterline. This module is a Sails/Waterline adapter maintained by the core team. Its goal is to provide robust, easy-to-use access to MongoDB from Sails.js and Waterline.

sailsjs-angularjs-bootstrap-example - A suite of examples written for Sails

  •    Javascript

A suite of examples written for Sails.js, AngularJS, and Twitter Bootstrap. #Notice The master branch is currently using an older Sails 0.10 version. For a work-in-progress Sails 0.11 version, please see @nickdiego's sails-0.11 branch (PR #27).

waterline-docs - Public Documentation for Waterline


The Waterline documentation now lives in the Sails documentation. These links will bring you to the applicable doc pages on the Sails website.A list of officially supported adapters can be found here.

activityoverlord - An application I'm building to learn sails.js

  •    Javascript

This is a part of a series of screencasts which build a sails application from scratch. You can follow the progress over at my github sailscasts page. Episode 1: goes over installing sails and creating the initial sails project.

sails-docs - The source markdown files for the official Sails

  •    Javascript

The official documentation for the current stable release of Sails is on the master branch of this repository. Content for most sections on the official Sails website is compiled from here.The documentation for Sails has been translated to a number of different languages. The list below is a reference of the translation projects we are aware of.

generator-sails-rest-api - Yeoman generator for scaffolding Sails REST API with predefined features

  •    Javascript

Yeoman generator that provides already configured and optimized Sails REST API with bundle of predefined features. You will be prompted to answer to questions. Answer to those questions and you will get configured Sails project.

sails-generate-auth - Generate a Passport

  •    Javascript

⚠️ OBS: This generator is not currently maintained. Check out for an actively maintained project based on this generator. A Passport.js-based authentication generator for use with the Sails command-line interface.

ruckusing-migrations - Database migrations for PHP ala ActiveRecord Migrations with support for MySQL, Postgres, SQLite

  •    PHP

Ruckusing is a framework written in PHP5 for generating and managing a set of "database migrations". Database migrations are declarative files which represent the state of a DB (its tables, columns, indexes, etc) at a particular state of time. By using database migrations, multiple developers can work on the same application and be guaranteed that the application is in a consistent state across all remote developer machines. The idea of the framework was borrowed from the migration system built into Ruby on Rails. Any one who is familiar with Migrations in RoR will be immediately at home.

skipper - Streaming multi-uploads for Sails/Express - supports disk, S3, gridfs, and custom file adapters

  •    Javascript

Skipper makes it easy to implement streaming file uploads to disk, S3, or any supported file upload adapters.The following example assumes skipper is already installed as the body parser in your Express or Sails app. It receives one or more files from a file parameter named avatar using the default, built-in file adapter (skipper-disk). This streams the file(s) to the default upload directory .tmp/uploads/ on the server's local disk.

phinx - PHP Database Migrations for Everyone

  •    PHP

Phinx makes it ridiculously easy to manage the database migrations for your PHP app. In less than 5 minutes, you can install Phinx and create your first database migration. Phinx is just about migrations without all the bloat of a database ORM system or framework. Check out (EN, ZH) for the comprehensive documentation.

shift - shift is an application that helps you run schema migrations on MySQL databases

  •    Ruby

shift was designed to solve the following problem - running schema migrations manually takes too much time. As such, it is most effective when schema migrations are taking up too much of your time (ex: for an operations or DBA team at a large organization), but really it can be used by anyone. As of writing this, shift has had no problem running hundreds of migrations a day or running migrations that take over a week to complete.Copyright (c) 2016 Square Inc. Distributed under the Apache 2.0 License. See LICENSE file for further details.

data-migrate - Migrate and update data alongside your database structure.

  •    Ruby

Run data migrations alongside schema migrations. Data migrations are stored in db/data. They act like schema migrations, except they should be reserved for data migrations. For instance, if you realize you need to titleize all your titles, this is the place to do it.

migration_data - The solution to keep your Rails ActiveRecord migrations up to date

  •    Ruby

This gem provides functionality to write any code in migrations safely without regression. Sometimes we have to write some Rails code in the migrations and it's hard to keep them in a working state because models which are used there change too often. There are some techniques which help to avoid these pitfalls. For example, define model classes in the migrations or write raw SQL. But they don't help in 100% of all cases. This gem promises to solve this problem in a simple way.

squasher - Squasher - squash your old migrations in a single command

  •    Ruby

Squasher compresses old ActiveRecord migrations. If you work on a big project with lots of migrations, every rake db:migrate might take a few seconds, or creating of a new database might take a few minutes. That's because ActiveRecord loads all those migration files. Squasher removes all the migrations and creates a single migration with the final database state of the specified date (the new migration will look like a schema). @note if you use Rbenv don't forget to run rbenv rehash.

Flask-Migrate - SQLAlchemy database migrations for Flask applications using Alembic

  •    Python

Flask-Migrate is an extension that handles SQLAlchemy database migrations for Flask applications using Alembic. The database operations are provided as command line arguments for Flask-Script. Note that the FLASK_APP environment variable must be set according to the Flask documentation for this command to work. This will add a migrations folder to your application. The contents of this folder need to be added to version control along with your other source files.

Waterline - An adapter based ORM for use with Node.js and the Sails.js Framework

  •    Javascript

Waterline is a new kind of storage and retrieval engine. It provides a uniform API for accessing stuff from different kinds of databases, protocols, and 3rd party APIs. That means you write the same code to get and store things like users, whether they live in Redis, mySQL, LDAP, MongoDB, or Postgres.

fluentmigrator - Fluent Migrations framework for .net

  •    CSharp

Fluent Migrator is a migration framework for .NET much like Ruby on Rails Migrations. Migrations are a structured way to alter your database schema and are an alternative to creating lots of sql scripts that have to be run manually by every developer involved. Migrations solve the problem of evolving a database schema for multiple databases (for example, the developer's local database, the test database and the production database). Database schema changes are described in classes written in C# that can be checked into a version control system.This will also build the whole solution.

DoctrineMigrationsBundle - Symfony integration for the doctrine/migrations library

  •    PHP

This bundle integrates the Doctrine2 Migrations library into Symfony applications. Database migrations help you version the changes in your database schema and apply them in a predictable way on every server running the application. Read the documentation of this bundle.

meteor-migrations - Simple migration system for Meteor

  •    Javascript

A simple migration system for Meteor supporting up/downwards migrations and command line usage. There is also a fork available for use outside of Meteor. Note: Migrations should be run from Meteor.startup to allow for log output configuration.

angular-sailsjs-boilerplate - 'Boilerplate' for AngularJS + Sails.js

  •    Javascript

Modern web applications has separated front- and backend sides to use. This 'boilerplate' present one way to make your application which have fully separated back- and frontend sides. And really this is more than just a boilerplate, proper term would be 'example application'. First of all you have to install npm and node.js to your box. Installation instructions can be found here.

We have large collection of open source products. Follow the tags from Tag Cloud >>

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.