mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-15 04:44:36 +02:00
Added migration from old Database to new database.
This commit is contained in:
parent
42c8222e35
commit
2f39ac90a2
19 changed files with 391 additions and 31 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue