· 9 years ago · Sep 29, 2016, 06:32 AM
1<?php
2$installer = $this;
3$installer->startSetup();
4$installer->run(“
5CREATE TABLE `reseller_authentication` ( `r_id` INT NOT NULL AUTO_INCREMENT , `App_id` VARCHAR(255) NOT NULL , `Reseller_id` VARCHAR(255) NOT NULL , `Secret_key` VARCHAR(255) NOT NULL , `created_time` DATETIME NOT NULL , `update_time` DATETIME NOT NULL , PRIMARY KEY (`r_id`)) ENGINE = InnoDB;
6“);
7$installer->endSetup();
8
9<?xml version="1.0"?>
10<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../Store/etc/config.xsd">
11 <default>
12 <webshop>
13 <module>
14 <is_enabled>1.0.0</is_enabled>
15 </module>
16 </webshop>
17 </default>
18 <global>
19 <models>
20 <Webshop>
21 <class>Ingram_Webshop_Model</class>
22 <resourceModel>Webshop_mysql4</resourceModel>
23 </Webshop>
24 <Webshop_mysql4>
25 <class>Ingram_Webshop_Model_Mysql4</class>
26 <entities>
27 <Webshop>
28 <table>Webshop_Reseller_Authentication</table>
29 </Webshop>
30 </entities>
31 </Webshop_mysql4>
32 </models>
33 </global>
34</config>