auto-increment primary key for SMS carrier

darcs-hash:20080622164013-34904-4119be65edb5fc09dcbe11edf17c3401f1d19a33.gz
This commit is contained in:
Evan Prodromou 2008-06-22 12:40:13 -04:00
parent 8a28d54f6a
commit 200124eca3
2 changed files with 2 additions and 3 deletions

View File

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

View File

@ -30,7 +30,7 @@ create table avatar (
) ENGINE=InnoDB;
create table sms_carrier (
id integer primary key comment 'primary key for SMS carrier',
id integer auto_increment 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',