• Miquel Rodríguez Telep / Michael Rodríguez-Torrent's avatar
    Remove broken SQLite auto-increment and fix composite primary keys · ced12abf
    * The old implementation produced invalid SQLite statements for tables with
      a composite primary key, as SQLite cannot have more than one primary key
      clause and autoincrement can only be declared on a single column
    * There is currently no way to tell from its pragma if an SQLite column
      auto-increments, therefore enabling it on all primary keys is not accurate
    * SQLite primary keys auto-increment anyway (but slightly differently from an
      actual auto-increment column -- not guaranteed unique)
    ced12abf
SqlitePlatform.php 14.8 KB