Changeset 375 for trunk/dns-1.0-1.2.sql


Ignore:
Timestamp:
08/08/12 18:04:47 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Checkpoint adding locations/views. See #10.

  • Tweak new locations table again with an internal serial for sorting and finding the "highest" previous location
  • Complete "Add location" stub
  • Fill in initial display page for "Edit location"
  • Tweak location add/edit/update template a little, add new comments field to match new field in table
  • Tweak location import so we don't end up with great long space-free fields similar to what can't be avoided with TXT (usually SPF/DomainKeys) records
  • Fill in addLoc() stub
  • Add getLoc()
  • Tweak location export to strip commas and whitespace properly
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns-1.0-1.2.sql

    r372 r375  
    44CREATE TABLE locations (
    55    location character varying (4) PRIMARY KEY,
     6    loc_id serial UNIQUE,
    67    group_id integer NOT NULL DEFAULT 1,
    78    iplist text NOT NULL DEFAULT '',
    8     description text NOT NULL DEFAULT ''
     9    description character varying(40) NOT NULL DEFAULT '',
     10    comments text NOT NULL DEFAULT ''
    911);
    1012
Note: See TracChangeset for help on using the changeset viewer.