Pull from branch_0_9: Widen call{ed,ing}stationid from 30 to 50
authorphampson <phampson>
Mon, 25 Aug 2003 18:54:50 +0000 (18:54 +0000)
committerphampson <phampson>
Mon, 25 Aug 2003 18:54:50 +0000 (18:54 +0000)
Pull from branch_0_9: Add naslocation column and some comments to nas table

1  2 
src/modules/rlm_sql/drivers/rlm_sql_oracle/db_oracle.sql

@@@ -8,21 -8,11 +8,24 @@@
   */
  
  /*
 + * Table structure for table 'dictionary'
 + */
 +CREATE TABLE dictionary (
 +      id              INT PRIMARY KEY,
 +      type            VARCHAR(30),
 +      attribute       VARCHAR(32),
 +      value           VARCHAR(32),
 +      format          VARCHAR(20),
 +      vendor          VARCHAR(32)
 +);
 +CREATE SEQUENCE dictionary_seq START WITH 1 INCREMENT BY 1;
 +
 +/*
   * Table structure for table 'nas'
+  * This is not currently used but FreeRADIUS but is usefull for reporting
+  * anyway.
   */
  CREATE TABLE nas (
        id              INT PRIMARY KEY,
        nasname         VARCHAR(128),
@@@ -32,7 -22,8 +35,8 @@@
        ports           INT,
        secret          VARCHAR(60),
        community       VARCHAR(50),
-       snmp            VARCHAR(10)
+       snmp            VARCHAR(10),
+       naslocation     VARCHAR(10)
  );
  CREATE SEQUENCE nas_seq START WITH 1 INCREMENT BY 1;
  
@@@ -56,8 -47,8 +60,8 @@@ CREATE TABLE radacct 
        connectinfo_stop        VARCHAR(32),
        acctinputoctets         NUMERIC(12),
        acctoutputoctets        NUMERIC(12),
-       calledstationid         VARCHAR(30),
-       callingstationid        VARCHAR(30),
+       calledstationid         VARCHAR(50),
+       callingstationid        VARCHAR(50),
        acctterminatecause      VARCHAR(32),
        servicetype             VARCHAR(32),
        framedprotocol          VARCHAR(32),