Permalink
Browse files

adding table generation

  • Loading branch information...
1 parent ce1b27a commit e992d71fb22e75494fe76063a8b64732fe113f7e @markhuot markhuot committed Apr 12, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 upd.base.php
View
@@ -41,6 +41,14 @@ public function install()
$this->EE->layout->add_layout_tabs($this->tabs(), $this->module_name);
*/
+
+ /*
+ // create tables
+ $this->EE->dbforge->add_field("field_name varchar(100) NULL");
+ $this->EE->dbforge->add_key("id", TRUE);
+ $this->EE->dbforge->create_table('table_name');
+ */
+
return TRUE;
}

0 comments on commit e992d71

Please sign in to comment.