ox-it / ords

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

Cannot make primary key field autoincrement #773

Closed MerielP closed 8 years ago

MerielP commented 8 years ago

On Staging, I have a database (called 'Uploaded database made from CSV files', in the project 'Staging test') which consists of two uploaded CSV files.

I changed the primary key field from the ORDS-generated one to a pre-existing field (the problems I had doing this are detailed in issue #772), and then wanted to make the new primary key field into an autoincrement integer field.

ORDS let me change the data type to Integer, but when I attempted to tick the Autoincrement checkbox, I got this:

autoincrement error message

This is simply false: the field is not already an autoincrement, and when one views it via the editing screen, it just looks like any other Integer field.

I didn't get this problem when I tried to do the same thing with a similar file on App, but I can't say for certain whether the two cases are exactly the same.

thestoat commented 8 years ago

Should now be fixed

MerielP commented 8 years ago

Seems OK now - closing this issue.