<?php

$SQL = "create table notes

        (

          note_serial             serial,
          note_type               varchar(20)       default null,
          note_reference          bigint unsigned   default 0,
          note_text               text,
          note_timestamp          timestamp         default current_timestamp on update current_timestamp,  
          note_origin             varchar(100)      default null,
          
          primary key (note_serial),
                index (note_type),
                index (note_reference),
                index (note_timestamp)
          
        )

        default character set = utf8";
?>
