Added migration from old Database to new database.

This commit is contained in:
Jan Böhmer 2019-08-06 13:18:29 +02:00
parent 42c8222e35
commit 2f39ac90a2
19 changed files with 391 additions and 31 deletions

View file

@ -42,7 +42,7 @@ use Symfony\Component\Validator\Constraints as Assert;
* Also this entity is able to save some informations about the user, like the names, email-address and other info.
*
* @ORM\Entity(repositoryClass="App\Repository\UserRepository")
* @ORM\Table("users")
* @ORM\Table("`users`")
*/
class User extends NamedDBElement implements UserInterface, HasPermissionsInterface
{
@ -134,6 +134,26 @@ class User extends NamedDBElement implements UserInterface, HasPermissionsInterf
*/
protected $permissions;
/**
* @ORM\Column(type="string", name="config_currency")
*/
protected $currency;
/**
* @ORM\Column(type="text", name="config_image_path")
*/
protected $image_path;
/**
* @ORM\Column(type="text", name="config_instock_comment_w")
*/
protected $instock_comment_w;
/**
* @ORM\Column(type="text", name="config_instock_comment_a")
*/
protected $instock_comment_a;
/**
* Checks if the current user, is the user which represents the not logged in (anonymous) users.
*