Pulled fix from branch_1_1
[freeradius.git] / raddb / sql / postgresql / nas.sql
1 /*
2  * Table structure for table 'nas'
3  */
4 CREATE TABLE nas (
5         id              SERIAL PRIMARY KEY,
6         nasname         VARCHAR(128) NOT NULL,
7         shortname       VARCHAR(32) NOT NULL,
8         type            VARCHAR(30) NOT NULL DEFAULT 'other',
9         ports           int4,
10         secret          VARCHAR(60) NOT NULL,
11         community       VARCHAR(50),
12         description     VARCHAR(200)
13 );
14 create index nas_nasname on nas (nasname);