These are actually for the new VFS and will be removed when it is stabalized

This commit is contained in:
zone 2001-05-25 02:46:02 +00:00
parent 15206d9d78
commit 677e640e8a
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,19 @@
CREATE TABLE phpgw_vfs (
file_id int(11) DEFAULT '0' NOT NULL auto_increment,
owner_id int(11) DEFAULT '0' NOT NULL,
createdby_id int(11),
modifiedby_id int(11),
created date DEFAULT '0000-00-00' NOT NULL,
modified date,
size int(14),
mime_type varchar(150),
deleteable char(1) DEFAULT 'Y',
comment text,
app varchar(25),
directory text,
name text NOT NULL,
PRIMARY KEY (file_id)
);
INSERT INTO phpgw_vfs VALUES (1,0,0,NULL,NULL,NULL,NULL,'Directory','Y',NULL,'phpwebhosting','/','');
INSERT INTO phpgw_vfs VALUES (1,0,0,NULL,NULL,NULL,NULL,'Directory','Y',NULL,'phpwebhosting','/','home');

23
filemanager/create_tables.pgsql Executable file
View File

@ -0,0 +1,23 @@
BEGIN WORK;
CREATE TABLE phpgw_vfs (
file_id int(11) DEFAULT '0' NOT NULL serial,
owner_id int(11) DEFAULT '0' NOT NULL,
createdby_id int(11),
modifiedby_id int(11),
created date DEFAULT '0000-00-00' NOT NULL,
modified date,
size int(14),
mime_type varchar(150),
deleteable char(1) DEFAULT 'Y',
comment text,
app varchar(25),
directory text,
name text NOT NULL,
PRIMARY KEY (file_id)
);
INSERT INTO phpgw_vfs VALUES (1,0,0,NULL,NULL,NULL,NULL,'Directory','Y',NULL,'phpwebhosting','/','');
INSERT INTO phpgw_vfs VALUES (1,0,0,NULL,NULL,NULL,NULL,'Directory','Y',NULL,'phpwebhosting','/','home');;
COMMIT;