Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 11 Dec 2017, 15:23
ppp512 ppp512 is offline
 
Join Date: Dec 2017
create database table on install

Hello,

I am working on a simple mod, but I don't know how to create/drop a database table on install/uninstall. I have no idea what class I should use. Could someone please help me out with this? What should I paste in the installation/uninstallation code section (besides the "CREATE TABLE" and "DROP" queries)? A simple example would be welcome.

Thanks in advance
Reply With Quote
  #2  
Old 14 Dec 2017, 05:25
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Aug 2013
Install:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Uninstall:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer

GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 03:56.

Layout Options | Width: Wide Color: