mirror of
				https://github.com/ElvishArtisan/rivendell.git
				synced 2025-10-30 17:23:53 +01:00 
			
		
		
		
	* 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'.
		
			
				
	
	
		
			54 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
|                   CART Table Layout for Rivendell
 | |
| 
 | |
| The CARTS table holds data concerning all of the available events
 | |
| in a Rivendell system that are capable of being individually
 | |
| scheduled.
 | |
| 
 | |
| FIELD NAME           TYPE              REMARKS
 | |
| --------------------------------------------------------------------------
 | |
| NUMBER               int(10) unsigned  Primary key
 | |
| TYPE                 int(10) unsigned  1 = Audio, 2 = Command, 3 = Split
 | |
| GROUP_NAME           varchar(10)       Index
 | |
| TITLE                varchar(191)      Index
 | |
| ARTIST               varchar(191)      Index
 | |
| ALBUM                varchar(191)      Name of release album
 | |
| YEAR                 date              Year of release
 | |
| CONDUCTOR            varchar(64)
 | |
| LABEL                varchar(64)       Release Record Label 
 | |
| CLIENT               varchar(64)       Index
 | |
| AGENCY               varchar(64)       Index
 | |
| PUBLISHER            varchar(64)       Index
 | |
| COMPOSER             varchar(64)       Index
 | |
| USER_DEFINED         varchar(191)      For use by local user
 | |
| SONG_ID              varchar(32)
 | |
| BPM                  int(10) unsigned  Beats per minute
 | |
| USAGE_CODE           int(11)           0=Feature, 1=Theme Open,
 | |
|                                        2=Theme Close, 3=Theme Open/Close,
 | |
|                                        4=Background, 5=Comm/Promo
 | |
| FORCED_LENGTH        int(10)           Playout this length, 0 = don't timeshift
 | |
| AVERAGE_LENGTH       int(10)
 | |
| LENGTH_DEVIATION     int(10)           Maximum variation of underlying cuts
 | |
| AVERAGE_SEGUE_LENGTH int(10)
 | |
| AVERAGE_HOOK_LENGTH  int(10)
 | |
| CUT_QUANTITY         int(10)           > 1 for rotators
 | |
| LAST_CUT_PLAYED      int(10)           Offset for rotators
 | |
| PLAY_ORDER           int(10)           0 = Sequence, 1 = Random
 | |
| VALIDITY             int(10)           0 = Always invalid, 1 = Conditionally
 | |
|                                        valid, 2 = Always valid, 3 = Evergreen
 | |
| START_DATETIME       datetime         
 | |
| END_DATETIME         datetime         
 | |
| ENFORCE_LENGTH       enum('N','Y')     Timeshift?
 | |
| PRESERVE_PITCH       enum('N','Y')     Preserve Pitch?
 | |
| USE_WEIGHTING        enum('N','Y')
 | |
| ASYNCRONOUS          enum('N','Y')
 | |
| OWNER                varchar(64)       From LOGS.NAME or STATIONS.NAME
 | |
| MACROS               text              RML Macros
 | |
| SCHED_CODES          varchar(255)
 | |
| NOTES                text              User notes (freeform)
 | |
| METADATA_DATETIME    datetime          Metadata last modified
 | |
| USE_EVENT_LENGTH     enum('N','Y')     Use RDLogManager event lengths for
 | |
|                                        macro cart PAD updates.
 | |
| PENDING_STATION      varchar(64)
 | |
| PENDING_DATETIME     datetime
 | |
| PENDING_PID          int(11)
 |