2018-10-03 Fred Gleason <fredg@paravelsystems.com>

* Changed all instances of 'char' to 'varchar' in the database.
	* Changed the width of the 'CART.TITLE' field to 191.
	* Changed the width of the 'CART.ARTIST' field to 191.
	* Changed the width of the 'CART.ALBUM' field to 191.
	* Changed the width of the 'CART.USER_DEFINED' field to 191.
	* Changed the width of the 'CUTS.ORIGIN_LOGIN_NAME' field to 191.
	* Changed the width of the 'DROPBOXES.PATH' field to 191.
	* Changed the width of the 'DROPBOXES.LOG_PATH' field to 191.
	* Changed the width of the 'DROPBOXES.SET_USER_DEFINED' field to 191.
	* Changed the width of the 'DROPBOX_PATHS.FILE_PATH' field to 191.
	* Changed the width of the 'ELR_LINES.TITLE' field to 191.
	* Changed the width of the 'ELR_LINES.ARTIST' field to 191.
	* Changed the width of the 'ELR_LINES.USER_DEFINED' field to 191.
	* Changed the width of the 'ELR_LINES.ALBUM' field to 191.
	* Changed the width of the 'ENCODERS.COMMAND_LINE' field to 191.
	* Changed the width of the 'EVENTS.NOTE_TEXT' field to 191.
	* Changed the width of the 'EVENT_LINES.MARKER_COMMENT' field to 191.
	* Changed the width of the 'FEEDS.CHANNEL_TITLE' field to 191.
	* Changed the width of the 'FEEDS.CHANNEL_LINK' field to 191.
	* Changed the width of the 'FEEDS.BASE_URL' field to 191.
	* Changed the width of the 'FEEDS.BASE_PREAMBLE' field to 191.
	* Changed the width of the 'FEEDS.PURGE_URL' field to 191.
	* Changed the width of the 'FEEDS.REDIRECT_PATH' field to 191.
	* Changed the width of the 'FEED_PERMS.USER_NAME' field to 191.
	* Changed the width of the 'GROUPS.DESCRIPTION' field to 191.
	* Changed the width of the 'GROUPS.DEFAULT_TITLE' field to 191.
	* Changed the width of the 'HOSTVARS.VARVALUE' field to 191.
	* Changed the width of the 'HOSTVARS.REMARK' field to 191.
	* Changed the width of the 'IMPORTER_LINES.TITLE' field to 191.
	* Changed the width of the 'IMPORTER_LINES.TRACK_STRING' field to 191.
	* Changed the width of the 'INPUTS.NODE_HOSTNAME' field to 191.
	* Changed the width of the 'LOGS.ORIGIN_USER' field to 191.
	* Changed the width of the 'LOGS.LOCK_USER_NAME' field to 191.
	* Changed the width of the 'LOG_LINES.COMMENT' field to 191.
	* Changed the width of the 'LOG_LINES.ORIGIN_USER' field to 191.
	* Changed the width of the 'LOG_MACHINES.UDP_ADDR' field to 191.
	* Changed the width of the 'LOG_MACHINES.UDP_STRING' field to 191.
	* Changed the width of the 'LOG_MACHINES.LOG_RML' field to 191.
	* Changed the width of the 'MATRICES.GPIO_DEVICE' field to 191.
	* Changed the width of the 'NOWNEXT_PLUGINS.PLUGIN_PATH' field to 191.
	* Changed the width of the 'NOWNEXT_PLUGINS.PLUGIN_ARG' field to 191.
	* Changed the width of the 'OUTPUTS.NODE_HOSTNAME' field to 191.
	* Changed the width of the 'PODCASTS.ITEM_TITLE' field to 191.
	* Changed the width of the 'PODCASTS.ITEM_LINK' field to 191.
	* Changed the width of the 'PODCASTS.ITEM_COMMENTS' field to 191.
	* Changed the width of the 'PODCASTS.ITEM_AUTHOR' field to 191.
	* Changed the width of the 'PODCASTS.ITEM_SOURCE_URL' field to 191.
	* Changed the width of the 'PODCASTS.AUDIO_FILENAME' field to 191.
	* Changed the width of the 'RDAIRPLAY.SKIN_PATH' field to 191.
	* Changed the width of the 'RDAIRPLAY_CHANNELS.START_RML' field to 191.
	* Changed the width of the 'RDAIRPLAY_CHANNELS.STOP_RML' field to 191.
	* Changed the width of the 'RDCATCH.ERROR_RML' field to 191.
	* Changed the width of the 'RDPANEL.SKIN_PATH' field to 191.
	* Changed the width of the 'RDPANEL_CHANNELS.START_RML' field to 191.
	* Changed the width of the 'RDPANEL_CHANNELS.STOP_RML' field to 191.
	* Changed the width of the 'RECORDINGS.URL' field to 191.
	* Changed the width of the 'REPLICATORS.URL' field to 191.
	* Changed the width of the 'REPL_CART_STATE.POSTED_FILENAME' field
	to 191.
	* Changed the width of the 'REPORTS.EXPORT_PATH' field to 191.
	* Changed the width of the 'REPORTS.WIN_EXPORT_PATH' field to 191.
	* Changed the width of the 'SERVICES.DESCRIPTION' field to 191.
	* Changed the width of the 'SERVICES.NAME_TEMPLATE' field to 191.
	* Changed the width of the 'SERVICES.DESCRIPTION_TEMPLATE' field to 191.
	* Changed the width of the 'SERVICES.PROGRAM_CODE' field to 191.
	* Changed the width of the 'SERVICES.TFC_PATH' field to 191.
	* Changed the width of the 'SERVICES.TFC_WIN_PATH' field to 191.
	* Changed the width of the 'SERVICES.MUS_PATH' field to 191.
	* Changed the width of the 'SERVICES_MUS_WIN_PATH' field to 191.
	* Changed the width of the 'STATIONS.USER_NAME' field to 191.
	* Changed the width of the 'STATIONS.DEFAULT_NAME' field to 191.
	* Changed the width of the 'STATIONS.EDITOR_PATH' field to 191.
	* Changed the width of the 'STATIONS.JACK_COMMAND_LINE' field to 191.
	* Changed the width of the 'SWITCHER_NODES.DESCRIPTION' field to 191.
	* Changed the width of the 'SYSTEM.ISCI_XREFERENCE_PATH' field to 191.
	* Changed the width of the 'USERS.LOGIN_NAME' field to 191.
	* Changed the width of the 'USERS.FULL_NAME' field to 191.
	* Changed the width of the 'USERS.DESCRIPTION' field to 191.
	* Changed the width of the 'USER_PERMS.USER_NAME' field to 191.
	* Changed the width of the 'USER_SERVICE_PERMS.USER_NAME' field to 191.
	* Changed the width of the 'WEBAPI_AUTHS.LOGIN_NAME' field to 191.
	* Changed the width of the 'WEB_CONNECTIONS.LOGIN_NAME' field to 191.
	* Incremented the database version to 297.
	* Changed the default DB charset to 'utf8mb4'.
	* Changed the default DB collation to 'utf8mb4_general_ci'.
	* Removed the MYSQL_BUILTIN_DATABASE define from 'lib/rd.h'.
	* Removed the POSTGRESQL_BUILTIN_DATABASE define from 'lib/rd.h'.
This commit is contained in:
Fred Gleason
2018-10-03 18:13:51 -04:00
parent 7c09924254
commit a564d0c0fc
90 changed files with 4262 additions and 300 deletions

View File

@@ -6,25 +6,25 @@ table:
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
NAME char(10) unsigned Primary Key
DESCRIPTION char(255)
NAME_TEMPLATE char(255)
DESCRIPTION_TEMPLATE char(255)
PROGRAM_CODE char(255)
NAME varchar(10) unsigned Primary Key
DESCRIPTION varchar(191)
NAME_TEMPLATE varchar(191)
DESCRIPTION_TEMPLATE varchar(191)
PROGRAM_CODE varchar(191)
CHAIN_LOG enum('N','Y')
TRACK_GROUP char(10) From GROUPS.NAME
AUTOSPOT_GROUP char(10) From GROUPS.NAME
TRACK_GROUP varchar(10) From GROUPS.NAME
AUTOSPOT_GROUP varchar(10) From GROUPS.NAME
AUTO_REFRESH enum('N','Y')
DEFAULT_LOG_SHELFLIFE int(11)
LOG_SHELFLIFE_ORIGIN int(11) 0=Air Date, 1=Log Creation
LOG_SHELFLIFE_ORIGIN int(11) 0=Air Date, 1=Log Creation
ELR_SHELFLIFE int(11)
TFC_PATH char(255)
TFC_PATH varchar(191)
TFC_PREIMPORT_CMD text
TFC_WIN_PATH char(255)
TFC_WIN_PATH varchar(191)
TFC_WIN_PREIMPORT_CMD text
TFC_IMPORT_TEMPLATE char(64) From IMPORT_TEMPLATES.NAME
TFC_LABEL_CART char(32)
TFC_TRACK_CART char(32)
TFC_IMPORT_TEMPLATE varchar(64) From IMPORT_TEMPLATES.NAME
TFC_LABEL_CART varchar(32)
TFC_TRACK_CART varchar(32)
TFC_CART_OFFSET int(11)
TFC_CART_LENGTH int(11)
TFC_TITLE_OFFSET int(11)
@@ -35,8 +35,6 @@ TFC_MINUTES_OFFSET int(11)
TFC_MINUTES_LENGTH int(11)
TFC_SECONDS_OFFSET int(11)
TFC_SECONDS_LENGTH int(11)
TFC_LENGTH_OFFSET int(11) RETIRED
TFC_LENGTH_LENGTH int(11) RETIRED
TFC_LEN_HOURS_OFFSET int(11)
TFC_LEN_HOURS_LENGTH int(11)
TFC_LEN_MINUTES_OFFSET int(11)
@@ -49,15 +47,15 @@ TFC_EVENT_ID_OFFSET int(11)
TFC_EVENT_ID_LENGTH int(11)
TFC_ANNC_TYPE_OFFSET int(11)
TFC_ANNC_TYPE_LENGTH int(11)
MUS_PATH char(255)
MUS_PATH varchar(191)
MUS_PREIMPORT_CMD text
MUS_WIN_PATH char(255)
MUS_WIN_PATH varchar(191)
MUS_WIN_PREIMPORT_CMD text
MUS_IMPORT_TEMPLATE char(64) From IMPORT_TEMPLATES.NAME
MUS_LABEL_CART char(32)
MUS_TRACK_CART char(32)
MUS_BREAK_STRING char(64)
MUS_TRACK_STRING char(64)
MUS_IMPORT_TEMPLATE varchar(64) From IMPORT_TEMPLATES.NAME
MUS_LABEL_CART varchar(32)
MUS_TRACK_CART varchar(32)
MUS_BREAK_STRING varchar(64)
MUS_TRACK_STRING varchar(64)
MUS_CART_OFFSET int(11)
MUS_CART_LENGTH int(11)
MUS_TITLE_OFFSET int(11)
@@ -74,8 +72,6 @@ MUS_LEN_MINUTES_OFFSET int(11)
MUS_LEN_MINUTES_LENGTH int(11)
MUS_LEN_SECONDS_OFFSET int(11)
MUS_LEN_SECONDS_LENGTH int(11)
MUS_LENGTH_OFFSET int(11) RETIRED
MUS_LENGTH_LENGTH int(11) RETIRED
MUS_DATA_OFFSET int(11)
MUS_DATA_LENGTH int(11)
MUS_EVENT_ID_OFFSET int(11)