-- Copyright (C) 2003 Media Net Link, Inc. Danville, CA 94526 USA
-- 
-- This file is part of AthenaRMS.
-- 
-- AthenaRMS is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your option) any later version.
-- 
-- AthenaRMS is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-- GNU General Public License for more details.
-- 
-- You should have received a copy of the GNU General Public License
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

CREATE TABLE attribute_values (
  id varchar(255) NOT NULL,
  attribute_id integer NOT NULL,
  member_id integer NOT NULL,
  additional_info text,
  updated_by varchar(50),
  created_by varchar(50),
  updated_on timestamp,
  created_on timestamp,
  foreign key (attribute_id) references attribute (attribute_id),
  foreign key (member_id) references value_group_members (member_id),
  primary key (id, attribute_id, member_id)
);
