nmapx/couchbase-migrations

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (0.1.0) of this package.

This library allows you to easily migrate structure od your Couchbase cluster (including views, indexes and buckets) as well as stored documents.

0.1.0 2015-11-22 21:58 UTC

This package is auto-updated.

Last update: 2020-02-23 21:16:53 UTC


README

Build Status Packagist Latest Stable Version License

PHP Couchbase migrations

This library allows you to easily migrate structure od your Couchbase cluster (including views, indexes and buckets) as well as stored documents data. You can find full list of available features below.

Manage your development and production NoSQL databases in controlled way. Every migration has it's own version. That's why your migrations will be executed only once with possibility to rollback (excluding data).

Features

Views (Spatial/MapReduce)

  • (unsupported) create (development only)
  • (unsupported) update (development only)
  • (unsupported) remove (permanent, development only)
  • (unsupported) promote (move development to production)
  • (unsupported) suspend (move production to development)

Indexes (GSI)

  • (unsupported) create (including primary)
  • (unsupported) update
  • (unsupported) remove

Buckets

  • (unsupported) create
  • (unsupported) update
  • (unsupported) remove

Documents (data)

  • (unsupported) execute (N1QL queries)

Requirements

  • PHP >= 7.0 with composer
  • PHP Couchbase SDK >= 2.2.3
  • Couchbase Server >= 4.1.1

Installation

using Composer

composer require nmapx/couchbase-migrations

Usage

...

License

MIT License. Check LICENSE for details.