Changeset ce7e4f2abda41f0847e6adb9cc285de98a8e7245

Show
Ignore:
Timestamp:
08/24/10 15:09:12 (4 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1282662552 +0000
git-parent:

[38ca767426efe7c6dc2b1b5f65654e5d9172a93f]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1282662552 +0000
Message:

this should be safe to make not null -- from Michal Táborský

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sql/tables/noit.metric_name_summary.sql

    rb4c0bb1 rce7e4f2  
    2424    sid integer NOT NULL, 
    2525    metric_name text NOT NULL, 
    26     metric_type text
     26    metric_type text NOT NULL
    2727    active boolean DEFAULT true, 
    2828    fts_data tsvector 
     
    3737 
    3838ALTER TABLE ONLY metric_name_summary 
    39     ADD CONSTRAINT metric_name_summary_pkey UNIQUE (sid, metric_name, metric_type); 
     39    ADD CONSTRAINT metric_name_summary_pkey PRIMARY KEY (sid, metric_name, metric_type); 
    4040 
    4141