Plugin Directory

Changeset 505610


Ignore:
Timestamp:
02/15/2012 09:01:13 PM (14 years ago)
Author:
Evil Genius
Message:

database install has been updated to add the users email field by default.
A hits field has been added to the questions table.
We may track the popularity of questions in the future...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tf-faq/trunk/faq.php

    r502941 r505610  
    512512      question text NOT NULL,
    513513      answer text NOT NULL,
     514      email VARCHAR(56) NOT NULL,
     515      hits int DEFAULT '0' NOT NULL,
    514516      UNIQUE KEY id (id)
    515517    );";
     
    535537    }
    536538
    537     /***** update the version   *****/
     539    /*** update the version ***/
    538540        $tffaq_version = "0.0.9";
    539541        if(!add_option("tffaq_version",$tffaq_version)) {
     
    542544
    543545    /***** add email address column if it's not already there regardless of version *****/
     546    /***    current version is 0.0.9 may be able to remove this in the future   ***/
    544547
    545548    if(!$wpdb->get_col_info($wpdb->prefix.'faq_questions',4)) {
Note: See TracChangeset for help on using the changeset viewer.