Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
Split README file (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-georgiev authored Dec 24, 2019
1 parent e80f865 commit 05291ab
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,3 @@ Visitor Tracking Bundle
=======================

A Symfony bundle to track requests.

## Upgrading from 0.x to 1.x

The main difference is the move to multiple A/B testing seeds connected to a lifetime.
You will probably want to run some kind of migration like:

`INSERT INTO seed SELECT NULL, id, 'default', seed FROM lifetime`

`ALTER TABLE lifetime DROP seed`

You can then get the old seed by doing `$lifetime->getSeed('default')`
10 changes: 10 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## Upgrading from 0.x to 1.x

The main difference is the move to multiple A/B testing seeds connected to a lifetime.
You will probably want to run some kind of migration like:

`INSERT INTO seed SELECT NULL, id, 'default', seed FROM lifetime`

`ALTER TABLE lifetime DROP seed`

You can then get the old seed by doing `$lifetime->getSeed('default')`

0 comments on commit 05291ab

Please sign in to comment.