From: Evan Prodromou Date: Thu, 12 Feb 2009 19:16:58 +0000 (-0500) Subject: Make ID of SMS Carrier not autoincrement X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e686ef042b0f4b3cd8243fa9536092039798837b;p=quix0rs-gnu-social.git Make ID of SMS Carrier not autoincrement Since we're doing fixed IDs for SMS Carrier, we change the definition so it's not auto increment. --- diff --git a/classes/laconica.ini b/classes/laconica.ini index 255122a97f..19267f2688 100755 --- a/classes/laconica.ini +++ b/classes/laconica.ini @@ -292,7 +292,8 @@ created = 142 modified = 384 [sms_carrier__keys] -id = N +id = K +name = U [subscription] subscriber = 129 diff --git a/db/laconica.sql b/db/laconica.sql index 16f482134b..15f03a978f 100644 --- a/db/laconica.sql +++ b/db/laconica.sql @@ -31,7 +31,7 @@ create table avatar ( ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin; create table sms_carrier ( - id integer auto_increment primary key comment 'primary key for SMS carrier', + id integer primary key comment 'primary key for SMS carrier', name varchar(64) unique key comment 'name of the carrier', email_pattern varchar(255) not null comment 'sprintf pattern for making an email address from a phone number', created datetime not null comment 'date this record was created',