LinuxDoku / migratordotnet

Automatically exported from code.google.com/p/migratordotnet
0 stars 0 forks source link

Add support for System.Guid type. #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
There has been interest in using the Guid type for primary keys.

This is not supported OOB by mysql & postgres, however it should be able to
be made work using triggers & functions (UUID() in Mysql, uuid-ossp module
in postgres). However I am not sure of the best way to do this, and I think
the uuid in postgres is currently in 8.4devel.

Original issue reported on code.google.com by nick.h...@gmail.com on 21 Apr 2008 at 6:36

GoogleCodeExporter commented 8 years ago
related to this issue
http://code.google.com/p/migratordotnet/issues/detail?id=2&can=1

Can you re-patch for just this issue, with correct tab-formatting (migrator uses
tabs, not spaces).

Nick

Original comment by nick.h...@gmail.com on 21 Apr 2008 at 6:39

GoogleCodeExporter commented 8 years ago
If the person that submitted that patch is no longer around, I will create a 
new 
patch for this later today.

Original comment by dko...@gmail.com on 21 Apr 2008 at 11:06

GoogleCodeExporter commented 8 years ago
I created this for SqlServer and was going to start a new issue for it, but 
this 
looks like the right place for it. 

Original comment by mcintyre...@gmail.com on 24 Apr 2008 at 1:23

Attachments:

GoogleCodeExporter commented 8 years ago
This probably goes away if we merge in the refactorings-unstable branch. The SQL
Server and SQLite Dialects (for example) support Guid which uses a SQL
Uniqueidentifier. MySQL is configured to use a varchar(40), etc.

Original comment by geoffl...@gmail.com on 29 May 2008 at 4:18

GoogleCodeExporter commented 8 years ago
Closing - because the refactorings-unstable branch is now the trunk and this is
handled by the new code.

Original comment by geoffl...@gmail.com on 5 Jun 2008 at 3:00