#
# Add SQL definition of database tables
#
#
# Table structure for table 'tx_pcforms_form_storage'
#

CREATE TABLE tx_pcforms_form_storage (
	uid int(11) NOT NULL auto_increment,
	pid int(11) DEFAULT '0' NOT NULL,
	tstamp int(11) DEFAULT '0' NOT NULL,
	crdate int(11) DEFAULT '0' NOT NULL,
	cruser_id int(11) DEFAULT '0' NOT NULL,
	sorting int(11) DEFAULT '0' NOT NULL,
	deleted tinyint(4) DEFAULT '0' NOT NULL,
	hidden tinyint(4) DEFAULT '0' NOT NULL,
	title tinytext,
    pc_user_url varchar(2048),
    pc_user_id varchar(128),
    form JSON,

	PRIMARY KEY (uid),
	KEY parent (pid)
);