-- 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)
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
-- 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
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),
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
----
-- 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
----
-- 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