mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
Make primary key context and voicemailbox and make the file easier on
the eyes (bug 1208) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1,2 +1,11 @@
|
||||
drop table if exists users;
|
||||
create table users (mailbox VARCHAR(80) NOT NULL PRIMARY KEY, context VARCHAR(80), password VARCHAR(80), fullname VARCHAR(80), email VARCHAR(80), pager VARCHAR(80), options VARCHAR(160));
|
||||
create table users (
|
||||
context VARCHAR(80) NOT NULL,
|
||||
mailbox VARCHAR(80) NOT NULL,
|
||||
password VARCHAR(80) NOT NULL DEFAULT '',
|
||||
fullname VARCHAR(80) NOT NULL DEFAULT '',
|
||||
email VARCHAR(80) NOT NULL DEFAULT '',
|
||||
pager VARCHAR(80) NOT NULL DEFAULT '',
|
||||
options VARCHAR(160) NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (context, mailbox)
|
||||
);
|
||||
|
Reference in New Issue
Block a user