1
0
mirror of https://github.com/e107inc/e107.git synced 2025-02-13 02:54:39 +01:00
php-e107/e107_plugins/content/content_sql.php

60 lines
1.8 KiB
PHP

<?php
/*
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
* Database structure for content management plugin
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/content/content_sql.php,v $
* $Revision$
* $Date$
* $Author$
*/
/**
* @package e107_plugins
* @subpackage content_management
* @version $Id$;
*
* Database structure for content management plugin
*/
header('location:../index.php');
exit;
?>
# Table structure for table `content`
#
CREATE TABLE pcontent (
content_id int(10) unsigned NOT NULL auto_increment,
content_heading varchar(255) NOT NULL default '',
content_subheading varchar(255) NOT NULL default '',
content_summary text NOT NULL,
content_text longtext NOT NULL,
content_author varchar(255) NOT NULL default '',
content_icon varchar(255) NOT NULL default '',
content_file text NOT NULL,
content_image text NOT NULL,
content_parent varchar(50) NOT NULL default '',
content_comment tinyint(1) unsigned NOT NULL default '0',
content_rate tinyint(1) unsigned NOT NULL default '0',
content_pe tinyint(1) unsigned NOT NULL default '0',
content_refer text NOT NULL,
content_datestamp int(10) unsigned NOT NULL default '0',
content_enddate int(10) unsigned NOT NULL default '0',
content_class varchar(255) NOT NULL default '',
content_pref text NOT NULL,
content_order varchar(10) NOT NULL default '0',
content_score tinyint(3) unsigned NOT NULL default '0',
content_meta text NOT NULL,
content_layout varchar(255) NOT NULL default '',
PRIMARY KEY (content_id),
KEY content_parent (content_parent)
) ENGINE=MyISAM;
# --------------------------------------------------------