cvs: pear /DB_QueryTool/docs mysql.sql pgsql.sql
| From: | Wolfram Kriesing | Date: | Sun, 09 Feb 2003 19:41:19 +0000 |
| Subject: | cvs: pear /DB_QueryTool/docs mysql.sql pgsql.sql | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-8777@lists.php.net to get a copy of this message | ||
cain Sun Feb 9 14:41:19 2003 EDT
Added files:
/pear/DB_QueryTool/docs mysql.sql pgsql.sql
Log:
- added postgres sql data
Index: pear/DB_QueryTool/docs/mysql.sql
+++ pear/DB_QueryTool/docs/mysql.sql
# phpMyAdmin MySQL-Dump
# version 2.3.0
# http://phpwizard.net/phpMyAdmin/
# http://www.phpmyadmin.net/ (download page)
#
# Host: localhost
# Generation Time: Jan 17, 2003 at 01:37 PM
# Server version: 3.23.48
# PHP Version: 4.1.0
# Database :
test
# --------------------------------------------------------
#
# Table structure for table time
#
CREATE TABLE time (
id int(11) NOT NULL default '0',
user_id int(11) NOT NULL default '0',
projectTree_id int(11) NOT NULL default '0',
task_id int(11) NOT NULL default '0',
timestamp int(11) NOT NULL default '0',
durationSec int(11) NOT NULL default '0',
comment text NOT NULL,
PRIMARY KEY (id)
) TYPE=MyISAM;
#
# Dumping data for table time
#
INSERT INTO time VALUES (1, 3, 23, 123, 2147483647, 100, 'finishing the DB_QueryTool to be
ready for PEAR');
INSERT INTO time VALUES (2, 4, 2, 232, 1112983792, 200, 'quality control :-)');
INSERT INTO time VALUES (3, 3, 0, 234, 2147483647, 21321, 'another entry, just to show the join
thingy :-)');
# --------------------------------------------------------
#
# Table structure for table user
#
CREATE TABLE user (
id int(11) NOT NULL default '0',
login varchar(20) NOT NULL default '',
name varchar(100) NOT NULL default '',
surname varchar(100) NOT NULL default '',
email varchar(100) NOT NULL default '',
isAdmin tinyint(4) NOT NULL default '0',
password varchar(32) default NULL,
PRIMARY KEY (id)
) TYPE=MyISAM;
#
# Dumping data for table user
#
INSERT INTO user VALUES (4, 'pp', 'Paolo', 'Panto',
'pp@visionp.de', 1, NULL);
INSERT INTO user VALUES (3, 'cain', 'Wolfram', 'Kriesing',
'wk@visionp.de', 1, '8a9d62c756bd894451e63e9a511ded0c');
Index: pear/DB_QueryTool/docs/pgsql.sql
+++ pear/DB_QueryTool/docs/pgsql.sql
--
-- PostgreSQL database dump
--
\connect - postgres
SET search_path = public, pg_catalog;
--
-- TOC entry 4 (OID 16977)
-- Name: time; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE "time" (
id bigint DEFAULT '0' NOT NULL,
user_id bigint DEFAULT '0' NOT NULL,
projecttree_id bigint DEFAULT '0' NOT NULL,
task_id bigint DEFAULT '0' NOT NULL,
"timestamp" bigint DEFAULT '0' NOT NULL,
durationsec bigint DEFAULT '0' NOT NULL,
"comment" text NOT NULL
);
--
-- TOC entry 5 (OID 16991)
-- Name: uuser; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE uuser (
id bigint DEFAULT '0' NOT NULL,
login character varying(20) DEFAULT '' NOT NULL,
name character varying(100) DEFAULT '' NOT NULL,
surname character varying(100) DEFAULT '' NOT NULL,
email character varying(100) DEFAULT '' NOT NULL,
isadmin integer DEFAULT '0' NOT NULL,
"password" character varying(32)
);
\connect - test
SET search_path = public, pg_catalog;
--
-- TOC entry 2 (OID 17002)
-- Name: uuser_seq; Type: SEQUENCE; Schema: public; Owner: test
--
CREATE SEQUENCE uuser_seq
START 1
INCREMENT 1
MAXVALUE 9223372036854775807
MINVALUE 1
CACHE 1;
\connect - postgres
SET search_path = public, pg_catalog;
--
-- Data for TOC entry 7 (OID 16977)
-- Name: time; Type: TABLE DATA; Schema: public; Owner: postgres
--
COPY "time" (id, user_id, projecttree_id, task_id, "timestamp", durationsec,
"comment") FROM stdin;
1 3 23 123 2147483647 100 finishing the DB_QueryTool to be ready for PEAR
2 4 2 232 1112983792 200 quality control :-)
3 3 0 234 2147483647 21321 another entry, just to show the join thingy :-)
\.
--
-- Data for TOC entry 8 (OID 16991)
-- Name: uuser; Type: TABLE DATA; Schema: public; Owner: postgres
--
COPY uuser (id, login, name, surname, email, isadmin, "password") FROM stdin;
4 pp Paolo Panto pp@visionp.de 1 \N
3 cain Wolfram Kriesing wk@visionp.de 1 8a9d62c756bd894451e63e9a511ded0c
\.
--
-- TOC entry 6 (OID 17001)
-- Name: id_uuser_ukey; Type: INDEX; Schema: public; Owner: postgres
--
CREATE UNIQUE INDEX id_uuser_ukey ON uuser USING btree (id);
\connect - test
SET search_path = public, pg_catalog;
--
-- TOC entry 3 (OID 17002)
-- Name: uuser_seq; Type: SEQUENCE SET; Schema: public; Owner: test
--
SELECT pg_catalog.setval ('uuser_seq', 5, true);