prooph/pdo-snapshot-store 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

prooph/pdo-snapshot-store

最新稳定版本:v1.6.0

Composer 安装命令:

composer require prooph/pdo-snapshot-store

包简介

PDO Snapshot Store Implementation

README 文档

README

Continuous Integration Coverage Status Gitter

Important

This library will receive support until December 31, 2019 and will then be deprecated.

For further information see the official announcement here: https://www.sasaprolic.com/2018/08/the-future-of-prooph-components.html

Overview

PDO implementation of snapshot store

Installation

You can install prooph/pdo-snapshot-store via composer by adding "prooph/pdo-snapshot-store": "^1.0" as requirement to your composer.json.

Upgrade

If you come from version 1.4.0 you are advised to manually update the table schema to fix an omitted primary key. You can issue the following statements or drop the snapshot table, recreate them from the provided scripts and restart projections.

MySql

ALTER TABLE `snapshots` DROP INDEX `ix_aggregate_id`, ADD PRIMARY KEY(`aggregate_id`);

Postgres

ALTER TABLE "snapshots" DROP CONSTRAINT "snapshots_aggregate_id_key", ADD PRIMARY KEY ("aggregate_id");

Support

Contribute

Please feel free to fork and extend existing or add new plugins and send a pull request with your changes! To establish a consistent code quality, please provide unit tests for all your changes and may adapt the documentation.

License

Released under the New BSD License.

统计信息

  • 总下载量: 162.17k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 25
  • 点击次数: 2
  • 依赖项目数: 4
  • 推荐数: 2

GitHub 信息

  • Stars: 25
  • Watchers: 5
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2016-12-02