Hi, I'm getting below error while trying to rename a primary key column. *OperationalError: (OperationalError) (1025, "Error on rename of '.\\test\\#sql-540_8' to '.\\test\\users' (errno: 150)") '\nALTER TABLE users CHANGE COLUMN user_id `Users_Id` INTEGER NOT NULL AUTO_INCREMENT' () *
Below is the code i used to alter the column. *alter_column(users.c.user_id, name='Users_Id')* * * Please do the needful Regards Pravin B -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To view this discussion on the web visit https://groups.google.com/d/msg/sqlalchemy/-/AQ0TELALHowJ. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.