From 7115eeadfcc71f7968b979535c84becf11a2c945 Mon Sep 17 00:00:00 2001 From: Ulrich Schmidt-Goertz Date: Thu, 24 Nov 2016 16:39:45 +0100 Subject: [PATCH] Fix behavior namespace in platform class --- README.md | 6 ------ src/Platform/MysqlPlatform.php | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index 190d7bf..a183b51 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,6 @@ A behavior for Propel 2 which provides number ranges in combination of a composite key. **This Behavior only works in MySQL!** -[![Build Status](https://travis-ci.org/finanzcheck/composite-number-range-behavior.svg?branch=master)](https://travis-ci.org/finanzcheck/composite-number-range-behavior) -[![Latest Stable Version](https://poser.pugx.org/finanzcheck/composite-number-range-behavior/v/stable.png)](https://packagist.org/packages/finanzcheck/composite-number-range-behavior) -[![Total Downloads](https://poser.pugx.org/finanzcheck/composite-number-range-behavior/downloads.png)](https://packagist.org/packages/finanzcheck/composite-number-range-behavior) - ---- - ## Dafuq? Number Range? What's that? Consider having a table with an autoincrement id field, a foreign key and an composite id field behaving as an autoincrement diff --git a/src/Platform/MysqlPlatform.php b/src/Platform/MysqlPlatform.php index cf05171..4bb8300 100644 --- a/src/Platform/MysqlPlatform.php +++ b/src/Platform/MysqlPlatform.php @@ -9,7 +9,7 @@ class MysqlPlatform extends BaseMysqlPlatform { - const BEHAVIOR_NAME = '\FelixWillmann\CompositeNumberRange\CompositeNumberRangeBehavior'; + const BEHAVIOR_NAME = '\Finanzcheck\CompositeNumberRange\CompositeNumberRangeBehavior'; /** * Returns the actual trigger name in the database. Handy if you don't have the behavior definition