mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-21 18:39:31 +00: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
|
|
@ -29,7 +29,7 @@ use Doctrine\ORM\Mapping as ORM;
|
|||
* Class AttachmentType.
|
||||
*
|
||||
* @ORM\Entity(repositoryClass="App\Repository\StructuralDBElementRepository")
|
||||
* @ORM\Table(name="categories")
|
||||
* @ORM\Table(name="`categories`")
|
||||
*/
|
||||
class Category extends PartsContainingDBElement
|
||||
{
|
||||
|
|
@ -51,13 +51,13 @@ class Category extends PartsContainingDBElement
|
|||
|
||||
/**
|
||||
* @var string
|
||||
* @ORM\Column(type="string")
|
||||
* @ORM\Column(type="text")
|
||||
*/
|
||||
protected $partname_hint = "";
|
||||
|
||||
/**
|
||||
* @var string
|
||||
* @ORM\Column(type="string")
|
||||
* @ORM\Column(type="text")
|
||||
*/
|
||||
protected $partname_regex = "";
|
||||
|
||||
|
|
@ -87,13 +87,13 @@ class Category extends PartsContainingDBElement
|
|||
|
||||
/**
|
||||
* @var string
|
||||
* @ORM\Column(type="string")
|
||||
* @ORM\Column(type="text")
|
||||
*/
|
||||
protected $default_description = "";
|
||||
|
||||
/**
|
||||
* @var string
|
||||
* @ORM\Column(type="string")
|
||||
* @ORM\Column(type="text")
|
||||
*/
|
||||
protected $default_comment = "";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue