Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

<html><head><title></title></head><body>The The module sqldiff config file allows for updates to the datamodel for a module. The file is checked on startup of the module. The child diff tags are iterated over in a top down fashion. The earliest diff should be at the top and the most recent diff should be at the bottom. While iterating, if the current module database version is less than the given version, the sql in the sql tag is executed.

...

Viewable contents of http://resources.openmrs.org/doctype/sqldiff-1.0.dtd made available here: <code lang="html">

Code Block

<?xml version="1.0" encoding="UTF-8"?>

...



<\!-\-

...


Top level configuration element.

...


\-->

...


<\!ELEMENT sqldiff (

...


{panel
}
(help?),


(diff*)

{panel}
)>

...


<\!ATTLIST sqldiff version CDATA #FIXED "1.0">

...



<\!ELEMENT diff (version, author, date, description, sql)>

...

Panel
</body></html>