[Solved] field tiny int

0 votes
asked Apr 18, 2017 in Solved by titanka (120 points)
recategorized Apr 18, 2017 by ludek.vodicka

1 Answer

0 votes
answered Apr 18, 2017 by ludek.vodicka Skipper developer (140,450 points)

Can you be more specific with your question please? ;-)

commented Apr 18, 2017 by titanka (120 points)

Hello, we have the necessity to create field mediumint and tinyint, but with our skipper version (3.1.0.1176) is not possible.
Is there the possibility to manage it with a recent version?
Now we usually generate xml for symfony doctrine2 with the version 3.1.0.1176.
If we open with the last skipper version a project created with the version 3.1.0.1176 is it compatible with the last version?
And the xml generate with the last version is identical to the xml generated with 3.1.0.1176?
regards

commented Apr 18, 2017 by ludek.vodicka Skipper developer (140,450 points)

Hi,

what ORM framework are you using? As far as I know Skipper offers all data types offered by ORMs. But if missed something, we will add it asap.

Regarding your compatibility question. You can always open the project in newer Skipper version without any complications. Skipper has internal update routines which update the model to the latest version.

Generated XML is usually the same when there were no changes in ORM framework itself.

commented Apr 18, 2017 by titanka (120 points)

Our ORM is doctrine2 and sympfony2
In our project
we have to modify and generate new table with field mediumint and tinyint, but apparently is not possibile also in the last skipper version.
In the listbox there aren't mediumint and tinyint
Is it possible to do it?

enter image description here

commented Apr 18, 2017 by ludek.vodicka Skipper developer (140,450 points)

Ok, and do you have any link to documentation where tinyint and mediumint is referred as Doctrine2 type?

Because based on this http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/types.html there is no such datatype

commented Apr 18, 2017 by titanka (120 points)

thank you for your support, now we understand the situation

commented Apr 18, 2017 by ludek.vodicka Skipper developer (140,450 points)

you're welcome.

in case that you need custom data type, you can configure it as described here https://help.skipper18.com/expert-usage/customization/configuration-file-structure/

But you need to extend also Doctrine2 parsers to be able to understand these datatypes

...