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.
This commit is contained in:
Evan Prodromou 2009-02-12 14:16:58 -05:00
parent 654a91cc1c
commit e686ef042b
2 changed files with 3 additions and 2 deletions

View File

@ -292,7 +292,8 @@ created = 142
modified = 384 modified = 384
[sms_carrier__keys] [sms_carrier__keys]
id = N id = K
name = U
[subscription] [subscription]
subscriber = 129 subscriber = 129

View File

@ -31,7 +31,7 @@ create table avatar (
) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin; ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;
create table sms_carrier ( 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', 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', 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', created datetime not null comment 'date this record was created',