Skip to content

Commit

Permalink
change dev version to 7.0.4-dev (openemr#7972)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller authored Feb 5, 2025
1 parent fdd6819 commit 2172ec2
Show file tree
Hide file tree
Showing 2 changed files with 112 additions and 1 deletion.
111 changes: 111 additions & 0 deletions sql/7_0_3-to-7_0_4_upgrade.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
--
-- Comment Meta Language Constructs:
--
-- #IfNotTable
-- argument: table_name
-- behavior: if the table_name does not exist, the block will be executed

-- #IfTable
-- argument: table_name
-- behavior: if the table_name does exist, the block will be executed

-- #IfColumn
-- arguments: table_name colname
-- behavior: if the table and column exist, the block will be executed

-- #IfMissingColumn
-- arguments: table_name colname
-- behavior: if the table exists but the column does not, the block will be executed

-- #IfNotColumnType
-- arguments: table_name colname value
-- behavior: If the table table_name does not have a column colname with a data type equal to value, then the block will be executed

-- #IfNotColumnTypeDefault
-- arguments: table_name colname value value2
-- behavior: If the table table_name does not have a column colname with a data type equal to value and a default equal to value2, then the block will be executed

-- #IfNotRow
-- arguments: table_name colname value
-- behavior: If the table table_name does not have a row where colname = value, the block will be executed.

-- #IfNotRow2D
-- arguments: table_name colname value colname2 value2
-- behavior: If the table table_name does not have a row where colname = value AND colname2 = value2, the block will be executed.

-- #IfNotRow3D
-- arguments: table_name colname value colname2 value2 colname3 value3
-- behavior: If the table table_name does not have a row where colname = value AND colname2 = value2 AND colname3 = value3, the block will be executed.

-- #IfNotRow4D
-- arguments: table_name colname value colname2 value2 colname3 value3 colname4 value4
-- behavior: If the table table_name does not have a row where colname = value AND colname2 = value2 AND colname3 = value3 AND colname4 = value4, the block will be executed.

-- #IfNotRow2Dx2
-- desc: This is a very specialized function to allow adding items to the list_options table to avoid both redundant option_id and title in each element.
-- arguments: table_name colname value colname2 value2 colname3 value3
-- behavior: The block will be executed if both statements below are true:
-- 1) The table table_name does not have a row where colname = value AND colname2 = value2.
-- 2) The table table_name does not have a row where colname = value AND colname3 = value3.

-- #IfRow
-- arguments: table_name colname value
-- behavior: If the table table_name does have a row where colname = value, the block will be executed.

-- #IfRow2D
-- arguments: table_name colname value colname2 value2
-- behavior: If the table table_name does have a row where colname = value AND colname2 = value2, the block will be executed.

-- #IfRow3D
-- arguments: table_name colname value colname2 value2 colname3 value3
-- behavior: If the table table_name does have a row where colname = value AND colname2 = value2 AND colname3 = value3, the block will be executed.

-- #IfRowIsNull
-- arguments: table_name colname
-- behavior: If the table table_name does have a row where colname is null, the block will be executed.

-- #IfIndex
-- desc: This function is most often used for dropping of indexes/keys.
-- arguments: table_name colname
-- behavior: If the table and index exist the relevant statements are executed, otherwise not.

-- #IfNotIndex
-- desc: This function will allow adding of indexes/keys.
-- arguments: table_name colname
-- behavior: If the index does not exist, it will be created

-- #EndIf
-- all blocks are terminated with a #EndIf statement.

-- #IfNotListReaction
-- Custom function for creating Reaction List

-- #IfNotListOccupation
-- Custom function for creating Occupation List

-- #IfTextNullFixNeeded
-- desc: convert all text fields without default null to have default null.
-- arguments: none

-- #IfTableEngine
-- desc: Execute SQL if the table has been created with given engine specified.
-- arguments: table_name engine
-- behavior: Use when engine conversion requires more than one ALTER TABLE

-- #IfInnoDBMigrationNeeded
-- desc: find all MyISAM tables and convert them to InnoDB.
-- arguments: none
-- behavior: can take a long time.

-- #IfDocumentNamingNeeded
-- desc: populate name field with document names.
-- arguments: none

-- #IfUpdateEditOptionsNeeded
-- desc: Change Layout edit options.
-- arguments: mode(add or remove) layout_form_id the_edit_option comma_separated_list_of_field_ids

-- #IfVitalsDatesNeeded
-- desc: Change date from zeroes to date of vitals form creation.
-- arguments: none

2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// upgrade file is the starting point for the next upgrade.
$v_major = '7';
$v_minor = '0';
$v_patch = '3';
$v_patch = '4';
$v_tag = '-dev'; // minor revision number, should be empty for production releases

// A real patch identifier. This is incremented when we release a patch for a
Expand Down

0 comments on commit 2172ec2

Please sign in to comment.