Book a Demo

Author Topic: How to rename a database datatype?  (Read 3505 times)

chrvi

  • EA User
  • **
  • Posts: 75
  • Karma: +0/-0
  • There are so many hidden features...
    • View Profile
How to rename a database datatype?
« on: October 30, 2007, 03:05:55 am »
Hello there,

I'd like to rename a database datatype in my (manually created) product. This can be done very easy in Settings / Database Datatypes.
However, this doesn't change any existing attribute having this data type as its type.
I mean, if I rename my database datatype from AAA to BBB all the existing attributes having type AAA will remain unchanged, having (now non-existing) type AAA.

How can I rename the database datatype to achieve also all the attributes to change their type from AAA to BBB automatically? It seems to me quite a natural requirement but I can't find a way of doing it...

Thanks for any hint.

Radek
Radek

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: How to rename a database datatype?
« Reply #1 on: October 30, 2007, 03:41:42 am »
Hi Radek,

you can only do this by direct DB surgery.

Usual caveats...

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!