Created
November 1, 2015 12:12
-
-
Save jahvi/83dbea50d82ec47f48eb to your computer and use it in GitHub Desktop.
SQL install script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* @var $installer Mage_Core_Model_Resource_Setup */ | |
$installer = $this; | |
$installer->startSetup(); | |
$installer->run(" | |
-- DROP TABLE IF EXISTS {$this->getTable('cms_block')}; | |
CREATE TABLE {$this->getTable('cms_block')} ( | |
`block_id` smallint(6) NOT NULL auto_increment, | |
`title` varchar(255) NOT NULL default '', | |
`identifier` varchar(255) NOT NULL default '', | |
`content` text, | |
`creation_time` datetime default NULL, | |
`update_time` datetime default NULL, | |
`is_active` tinyint(1) NOT NULL default '1' | |
PRIMARY KEY (`block_id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='CMS Blocks'; | |
"); | |
$installer->endSetup(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment