i wanted to change a table by changing a date type to an int. i did this by dropping the table and then recreating it (using phppgadmin).
even tho the original table was dropped it wouldn't allow me to create the serial id again as it said that 'MyTable_id_seq' already existed.
changing the name of 'id' to 'tid' let it recreate the table. where can i delete the original sequence thingy.
i'm still new to postgres so i don't really understand what goes on when i create a serial.
thanks.
even tho the original table was dropped it wouldn't allow me to create the serial id again as it said that 'MyTable_id_seq' already existed.
changing the name of 'id' to 'tid' let it recreate the table. where can i delete the original sequence thingy.
i'm still new to postgres so i don't really understand what goes on when i create a serial.
thanks.