summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/stoica.ini3
-rw-r--r--db/laconica.sql2
2 files changed, 2 insertions, 3 deletions
diff --git a/classes/stoica.ini b/classes/stoica.ini
index 3245b39b7..96f3d06bc 100644
--- a/classes/stoica.ini
+++ b/classes/stoica.ini
@@ -95,8 +95,7 @@ created = 142
modified = 384
[sms_carrier__keys]
-id = K
-name = U
+id = N
[subscription]
subscriber = 129
diff --git a/db/laconica.sql b/db/laconica.sql
index 1fd7dc025..cc475e4cf 100644
--- a/db/laconica.sql
+++ b/db/laconica.sql
@@ -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',