From: Steve Sutton Date: Wed, 29 Nov 2017 18:17:55 +0000 (-0500) Subject: Update create script for db X-Git-Tag: v1.0.0^2~241 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=fc6ddfbef9a88f1990525eb6d452b9c82d9779fc;p=WP-Plugins%2Fglm-member-db-registrations.git Update create script for db error in db create table script. --- diff --git a/setup/databaseScripts/create_database_V0.0.19.sql b/setup/databaseScripts/create_database_V0.0.19.sql index a0c4f9d..cbdcede 100644 --- a/setup/databaseScripts/create_database_V0.0.19.sql +++ b/setup/databaseScripts/create_database_V0.0.19.sql @@ -159,7 +159,7 @@ CREATE TABLE {prefix}settings_terms ( -- Only one entry in this table! CREATE TABLE {prefix}misc ( id INT NOT NULL AUTO_INCREMENT, - reg_bulletin TEXT NULL, -- Text to display at top of first registration page + reg_bulletin TEXT NULL, -- Text to display at top of first registration page cart_page_text TEXT NULL, -- Text to display at top of cart page checkout_page_text TEXT NULL, -- Text to display at top of checkout page summary_page_text TEXT NULL, -- Text to display at top of summary page (after checkout) @@ -215,7 +215,7 @@ CREATE TABLE {prefix}reg_event ( attendee_max_per_reg TINYINT NULL, -- Maximum attendees per registration submission - 0 = unlimited reg_hold_minutes MEDIUMINT NULL, -- Number of minutes hold time for an inactive cart before registrant count hold expires (after which cart attempts to hold again on next access) cart_hold_days MEDIUMINT NULL, -- Number of days hold time for inactive cart before cart is purged - reg_hours_before MEDIUMINT NULL, -- Number of hours before an event that is the latest a registration may be submitted. + reg_hours_before MEDIUMINT NULL, -- Number of hours before an event that is the latest a registration may be submitted. registration_account_options SMALLINT NULL, -- Bitmap of how user accounts may be used for this event - See registration_account_option in plugin.ini payment_methods SMALLINT NULL, -- Bitmap of payment methods available to users for this event - See payment_method in plugin.ini restricted_payment_methods SMALLINT NULL, -- Bitmap of restricted (admin use only) payment methods for this event - see payment_method @@ -240,8 +240,8 @@ CREATE TABLE {prefix}reg_event ( -- One or more for each event CREATE TABLE {prefix}reg_time ( id INT NOT NULL AUTO_INCREMENT, - active -- Flag. True if registrations is available for this time - non_time_specific -- Flag. True if this is a pseudo time for non-time-specific events - Other informational times for the event will have this flag off + active BOOLEAN NULL, -- Flag. True if registrations is available for this time + non_time_specific BOOLEAN NULL, -- Flag. True if this is a pseudo time for non-time-specific events - Other informational times for the event will have this flag off reg_event INT NULL, -- Pointer to reg_event table event_time INT NULL, -- ID of events times table entry in Events add-on - If false (0), then this is a pseudo entry to use for all registrations (non-date/time specific) start_datetime DATETIME NULL, -- Date and time when event instance starts @@ -276,7 +276,7 @@ CREATE TABLE {prefix}reg_time_pending ( id INT NOT NULL AUTO_INCREMENT, reg_event INT NULL, -- Pointer to reg_event table reg_time INT NULL, -- ID of time record - registrant INT NULL, -- ID of reg_request_registrant record -- + registrant INT NULL, -- ID of reg_request_registrant record -- expire_time DATETIME NULL, -- Time at which this hold expires PRIMARY KEY (id), INDEX (reg_event), @@ -425,7 +425,7 @@ CREATE TABLE {prefix}reg_request ( cc_exp TINYTEXT NULL, cc_cvv TINYTEXT NULL, cc_conf TINYTEXT NULL, -- Confirmation code back from card processor - cc_proc_mesg TINYTEXT NULL, -- Message received from payment processor + cc_proc_mesg TINYTEXT NULL, -- Message received from payment processor summary TEXT NULL, -- HTML summary of cart contents, costs and payment - Use same HTML displayed to user mf_data TEXT NULL, -- Any MagicForm data associated with registrant notes TEXT NULL, -- System operator's notes for this registration request @@ -440,7 +440,7 @@ CREATE TABLE {prefix}reg_request ( ---- -- Registration for a specific event --- Has one or more reg_selected_rate records associated with it +-- Has one or more reg_selected_rate records associated with it CREATE TABLE {prefix}reg_request_event ( id INT NOT NULL AUTO_INCREMENT, reg_request INT NULL, -- Pointer to reg_request table @@ -456,7 +456,7 @@ CREATE TABLE {prefix}reg_request_event ( ---- -- A particular reg_class selected --- Has one or more reg_request_rate records associated with it +-- Has one or more reg_request_rate records associated with it CREATE TABLE {prefix}reg_request_class ( id INT NOT NULL AUTO_INCREMENT, reg_event INT NULL, -- Pointer to reg_event entry