Skip to content
This repository has been archived by the owner on Sep 9, 2019. It is now read-only.
/ DimeMigration Public archive

Copies the data from the old to the better Dime.

Notifications You must be signed in to change notification settings

stiftungswo/DimeMigration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dime Migration

This script connects to the old and the new Dime database and copies the data from the old to the new database. For convenience, we use the Eloquent ORM from the Laravel / Lumen project.

Some of the entities have major changes in terms of table name, table attribute or data types. The migration script takes care of this as well.

Installation

  • Clon the repository: git clone https://github.com/stiftungswo/DimeMigration
  • Install the composer dependencies: cd DimeMigration && composer install

Configuration

You need a connection to both the old and the new Dime database. The connection to those database are configurable through a .env file in the root folder of the project. Have a look at .env.example which things need to be configured and create your own .env or rename .env.example to .env if you run both databases with the same settings.

Usage

Run the migration with the following command:  php MigrateDime.php

About

Copies the data from the old to the better Dime.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages