Creating a table with
id: :string on SQLite crashes with duplicated
Steps to reproduce
The migrations run correctly and yield the following
will get past this error. So teh problem is that this
I wonder why it doesn't happen with integer keys. Anyway, it shouldn't be dumped to schema.rb.
The text was updated successfully, but these errors were encountered:
Related #31201. If creating custom primary key (like a string) in SQLite, it would also create an internal index implicitly which named begin with "sqlite_". It need to be hidden since the internal object names are reserved and prohibited for public use. See https://www.sqlite.org/fileformat2.html#intschema Fixes #33320.