|
スポンサード リンク
スポンサード リンク
Tag: CakeShop
TopicItems(注目商品テーブル)
SQL
-- -- テーブルの構造 `topicitems` -- DROP TABLE IF EXISTS `topicitems`; CREATE TABLE IF NOT EXISTS `topicitems` ( `id` int(11) NOT NULL auto_increment COMMENT '注目商品ID', `topic_id` int(11) NOT NULL COMMENT '注目ID', `item_id` int(11) NOT NULL COMMENT '商品ID', `display_order` int(11) NOT NULL default '1' COMMENT '表示順', PRIMARY KEY (`id`), KEY `topic_id` (`topic_id`,`item_id`,`display_order`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='注目商品テーブル' AUTO_INCREMENT=1 ; 関連ページ
コメント
スポンサード リンク |