Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何进行迁移以更改现有列以使其成为身份?意思是,我希望该整数列自动递增。
是不是像:
add_identity :tablename, [:columnname]
它不是主键列。