/*
 *
 *
 *  Copyright (c) 1998-2002, The University of Sheffield.
 *
 *  This file is part of GATE (see http://gate.ac.uk/), and is free
 *  software, licenced under the GNU Library General Public License,
 *  Version 2, June 1991 (in the distribution as file licence.html,
 *  and also available at http://gate.ac.uk/gate/licence.html).
 *
 *  Marin Dimitrov, 18/Mar/2002
 *
 *  $Id: initData.sql,v 1.2 2002/03/19 17:43:09 marin Exp $
 *
 */

    /* init the DB parameters */
     insert into t_parameter(par_id,
                                                  par_key,
                                                  par_value_number)
     values (1,
                    'DB_GUID',
                    random()*1024*1024*1024);


    insert into t_parameter(par_id,
                                                  par_key,
                                                  par_value_date)


     values (2,
                    'DB_CREATION_TIME',
                    now());

     /* init the LR_TYPE table */

     insert into t_lr_type(lrtp_id,lrtp_type)
     values(1,'gate.corpora.DatabaseDocumentImpl');

     insert into t_lr_type(lrtp_id,lrtp_type)
     values(2,'gate.corpora.DatabaseCorpusImpl');


     insert into t_group(grp_id,
                         grp_name)
     values (0,
             'ADMINS');


     insert into t_user_group(ugrp_id,
                              ugrp_user_id,
                              ugrp_group_id)
     values (0,0,0);

