├── .gitignore ├── .npmignore ├── .travis.yml ├── API.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── lib ├── helpers.js ├── index.js ├── migration.stub ├── migrator.js ├── model.js └── schema.js ├── package.json └── test ├── index.js ├── migrations ├── basic │ └── basic.js ├── extras-one │ ├── extras-one-1st.js │ └── extras-one-2nd.js ├── extras-two │ ├── extras-two-1st.js │ └── extras-two-2nd.js └── non-migration │ ├── 1st-good.js │ └── 2nd-bad.notmigration └── models ├── dog.js ├── index.js ├── movie.js ├── person.js └── zombie.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/* 2 | .tmp/ 3 | npm-debug* 4 | package-lock.json 5 | .vscode 6 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | * 2 | !lib/** 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/.travis.yml -------------------------------------------------------------------------------- /API.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/API.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/README.md -------------------------------------------------------------------------------- /lib/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/lib/helpers.js -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/lib/index.js -------------------------------------------------------------------------------- /lib/migration.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/lib/migration.stub -------------------------------------------------------------------------------- /lib/migrator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/lib/migrator.js -------------------------------------------------------------------------------- /lib/model.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/lib/model.js -------------------------------------------------------------------------------- /lib/schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/lib/schema.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/package.json -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/test/index.js -------------------------------------------------------------------------------- /test/migrations/basic/basic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/test/migrations/basic/basic.js -------------------------------------------------------------------------------- /test/migrations/extras-one/extras-one-1st.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/test/migrations/extras-one/extras-one-1st.js -------------------------------------------------------------------------------- /test/migrations/extras-one/extras-one-2nd.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/test/migrations/extras-one/extras-one-2nd.js -------------------------------------------------------------------------------- /test/migrations/extras-two/extras-two-1st.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/test/migrations/extras-two/extras-two-1st.js -------------------------------------------------------------------------------- /test/migrations/extras-two/extras-two-2nd.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/test/migrations/extras-two/extras-two-2nd.js -------------------------------------------------------------------------------- /test/migrations/non-migration/1st-good.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/test/migrations/non-migration/1st-good.js -------------------------------------------------------------------------------- /test/migrations/non-migration/2nd-bad.notmigration: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/test/migrations/non-migration/2nd-bad.notmigration -------------------------------------------------------------------------------- /test/models/dog.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/test/models/dog.js -------------------------------------------------------------------------------- /test/models/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/test/models/index.js -------------------------------------------------------------------------------- /test/models/movie.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/test/models/movie.js -------------------------------------------------------------------------------- /test/models/person.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/test/models/person.js -------------------------------------------------------------------------------- /test/models/zombie.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/schwifty/HEAD/test/models/zombie.js --------------------------------------------------------------------------------