note 46651 deleted from ref.sqlite by cmb
| From: | cmb@php.net | Date: | Mon, 02 Nov 2020 14:56:56 +0000 |
| Subject: | note 46651 deleted from ref.sqlite by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-215707@lists.php.net to get a copy of this message | ||
Note Submitter: j-pieper at NOSPAM dot web dot de
----
If you want to create a table in your database which should have an integer primary key, you cannot
declare the row like this:
id int(16) primary key
or
id integer(16) primary key
When you declare it like this it could be that the id isn't auto increment. You have to declare
it like this:
id integer primary key