Correcting misspelled words
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 15 Mar 2016 17:34:19 +0000 (13:34 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 15 Mar 2016 17:34:19 +0000 (13:34 -0400)
setup/databaseScripts/create_database_V0.0.4.sql

index 61a8173..286d8a1 100644 (file)
@@ -1,11 +1,11 @@
--- Gaslight Media Members Database - Events Add-On 
+-- Gaslight Media Members Database - Events Add-On
 -- File Created: 12/02/15 15:27:15
 -- Database Version: 0.0.1
 -- Database Creation Script
--- 
+--
 -- This file is called to create a new set of tables for this
--- add-on for the most receint database version for this add-on.
--- 
+-- add-on for the most recent database version for this add-on.
+--
 -- There should only be one such file in this directory
 --
 -- To permit each query below to be executed separately,
@@ -39,12 +39,12 @@ CREATE TABLE {prefix}event_categories (
 CREATE TABLE {prefix}recurrences (
   id INT NOT NULL AUTO_INCREMENT,
   event INTEGER NULL,                                   -- Pointer to event
-  start_time DATETIME NULL,                             -- Start of first occurance (date and time)
-  end_time DATETIME NULL,                               -- End of first occurance (date and time)
+  start_time DATETIME NULL,                             -- Start of first occurrence (date and time)
+  end_time DATETIME NULL,                               -- End of first occurrence (date and time)
   from_date DATE NULL,                                  -- From Date for recurrences
   to_date DATE NULL,                                    -- To Date for recurrences
-  all_day BOOLEAN NULL,                                 -- Flag indicating if this is an all-day event (inforational only)
-  all_dates BOOLEAN NULL,                               -- Flag indicating that event recurrs on all dates from from_date through to_date
+  all_day BOOLEAN NULL,                                 -- Flag indicating if this is an all-day event (informational only)
+  all_dates BOOLEAN NULL,                               -- Flag indicating that event recurs on all dates from from_date through to_date
   month_of_year SMALLINT UNSIGNED NULL,                 -- Month of year (bitmap)
   week_of_month TINYINT UNSIGNED NULL,                  -- Week of the month (bitmap)
   day_of_week TINYINT UNSIGNED NULL,                    -- Day of the week (bitmap)
@@ -64,8 +64,8 @@ CREATE TABLE {prefix}times (
   id INT NOT NULL AUTO_INCREMENT,
   event INT NULL,                                       -- Pointer to the primary record for the event
   custom_event INT NULL,                                -- Pointer to a customized copy of the event record (if set)
-  recur_id INT NULL,                                    -- Pointer to recurrance entry
-  active BOOLEAN NULL,                                  -- Active flag - normally set but used to temporarily dissable a specific date
+  recur_id INT NULL,                                    -- Pointer to recurrence entry
+  active BOOLEAN NULL,                                  -- Active flag - normally set but used to temporarily disable a specific date
   start_time DATETIME NULL,                             -- Date and time event starts
   end_time DATETIME NULL,                               -- Date and time event ends
   all_day BOOLEAN NULL,                                 -- All Day flag
@@ -77,14 +77,14 @@ CREATE TABLE {prefix}times (
 
 ----
 
--- Locations - Locations for event - If there's no location pointing to an event try to use the referernced entity in events table
+-- Locations - Locations for event - If there's no location pointing to an event try to use the referenced entity in events table
 CREATE TABLE {prefix}locations (
   id INT NOT NULL AUTO_INCREMENT,
   event INT NULL,                                       -- Pointer to the primary or custom event record
   name TINYTEXT NULL,                                   -- Name of location
-  address TINYTEXT NULL,                                -- Street Address 
+  address TINYTEXT NULL,                                -- Street Address
   city INT NULL,                                        -- Pointer to city - references main plugin city table
-  state TINYTEXT NULL,                                  -- Two character state abreviation
+  state TINYTEXT NULL,                                  -- Two character state abbreviation
   zip TINYTEXT NULL,                                    -- ZIP/Postal code
   country TINYTEXT NULL,                                -- Country Code
   lat FLOAT NULL,                                       -- Latitude of location
@@ -107,12 +107,12 @@ CREATE TABLE {prefix}locations (
 CREATE TABLE {prefix}events (
   id INT NOT NULL AUTO_INCREMENT,
   status INT NULL,                                      -- Status for this event, see config['status']
-  custom_time INT NULL,                                 -- If this is a custom record for a specific instance (date) this points to that times table entry  
+  custom_time INT NULL,                                 -- If this is a custom record for a specific instance (date) this points to that times table entry
   root_event INT NULL,                                  -- Root event pointer if this is a custom record for a specific instance (date) (if custom_time is set)
   created DATETIME NULL,                                -- Date/Time event was created or date custom event record was created if custom record
   updated DATETIME NULL,                                -- Date/Time this event record was last updated
   approved DATETIME NULL,                               -- Date/Ttime this event record was approved
-  ref_type INT NULL,                                    -- Type of entity this contact is associated with - See config['ref_type']                        
+  ref_type INT NULL,                                    -- Type of entity this contact is associated with - See config['ref_type']
   ref_dest INT NULL,                                    -- Pointer to the specific entity of ref_type this contact is associated with
   hide_address BOOLEAN NULL,                            -- Option to hide address on front-end
   featured BOOLEAN NULL,                                -- Option to mark as featured event