nmapx / couchbase-migrations
This library allows you to easily migrate structure od your Couchbase cluster (including views, indexes and buckets) as well as stored documents.
Installs: 1 509
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- symfony/yaml: ^2.7.6
This package is auto-updated.
Last update: 2020-02-23 21:16:53 UTC
README
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.