Changeset View
Changeset View
Standalone View
Standalone View
resources/sql/autopatches/20140115.auth.1.id.sql
- This file was added.
ALTER TABLE {$NAMESPACE}_user.phabricator_session | |||||
DROP PRIMARY KEY; | |||||
ALTER TABLE {$NAMESPACE}_user.phabricator_session | |||||
ADD id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST; | |||||
btrahan: what's the FIRST word do? just make it first in the list of columns? | |||||
Not Done Inline ActionsYeah, the options are: ... AFTER <column> ... FIRST This just makes it show up at the top of the table. epriestley: Yeah, the options are:
... AFTER <column>
... FIRST
This just makes it show up at the top… | |||||
ALTER TABLE {$NAMESPACE}_user.phabricator_session | |||||
ADD KEY `key_identity` (userPHID, type); |
what's the FIRST word do? just make it first in the list of columns?