{"id":178665,"date":"2013-05-07T09:12:04","date_gmt":"2013-05-07T05:12:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=178665"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=178665","title":{"rendered":"<span class=\"post_title\">\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f\u043c\u0438 \u0411\u0414 \u0441 Liquibase<\/span>"},"content":{"rendered":"<div class=\"content html_format\">       \u041d\u0435 \u0442\u0430\u043a \u0434\u0430\u0432\u043d\u043e \u043c\u044b \u043d\u0430\u0447\u0430\u043b\u0438 \u0432\u043d\u0435\u0434\u0440\u044f\u0442\u044c Liquibase \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0439 \u0441\u0445\u0435\u043c\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u043d\u0430\u0448\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432, \u043d\u043e\u0432\u044b\u0445 \u0438 \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445. \u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0439 \u0441\u0445\u0435\u043c\u044b \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 Liquibase \u0445\u043e\u0440\u043e\u0448\u0430 \u0442\u0435\u043c, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0432\u0435\u0440\u0441\u0438\u0439, VCS, (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, Git) \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u0432\u0438\u0437\u0438\u044f\u043c\u0438 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0413\u043e\u0432\u043e\u0440\u044f \u0431\u043e\u043b\u0435\u0435 \u0442\u043e\u0447\u043d\u043e, VCS \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0434\u043b\u044f \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0441\u0445\u0435\u043c\u044b \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u043e\u0434\u043d\u043e\u0439 \u0440\u0435\u0432\u0438\u0437\u0438\u0438 \u0432 \u0434\u0440\u0443\u0433\u0443\u044e.<\/p>\n<p>  \u0425\u043e\u0442\u044f \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f \u0441\u0445\u0435\u043c\u044b \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435\u0439 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e, \u0437\u0430\u0434\u0430\u0447\u0430 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0441\u043b\u043e\u0436\u043d\u0435\u0435 \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0436\u0435\u043b\u0430\u043d\u0438\u0435 \u043e\u0442\u043a\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u0445\u0435\u043c\u044b \u0431\u0435\u0437 \u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0437\u0430\u043d\u043e\u0432\u043e. <br \/>  \u041a\u0440\u043e\u043c\u0435 \u0441\u0445\u0435\u043c\u044b \u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 DDL, Liquibase \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043c\u0438\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u043d\u0430\u043a\u0430\u0442\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0438\u0445 \u043e\u0442\u043a\u0430\u0442\u0430. <a name=\"habracut\"><\/a><\/p>\n<p>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0430\u0447\u043d\u0435\u043c \u0441 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e. \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430, \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043d\u043e\u0433\u043e \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435, \u044f \u0431\u0443\u0434\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Liquibase, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u044b\u0439 \u0438\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 CLI-\u043a\u043b\u0438\u0435\u043d\u0442 \u0434\u043b\u044f MySQL. <br \/>  Liquibase \u0442\u0430\u043a\u0436\u0435 \u0445\u043e\u0440\u043e\u0448\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0441 Maven (\u043a\u0430\u043a goal) \u0438\u043b\u0438 Spring (\u043a\u0430\u043a \u0431\u0438\u043d, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u044b\u0439 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430).<\/p>\n<p>  \u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b PERSON, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0435\u0439 \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u0437 ID (\u043f\u0435\u0440\u0432\u0438\u0447\u043d\u044b\u0439 \u043a\u043b\u044e\u0447) \u0438 \u0438\u043c\u0435\u043d\u0438:<\/p>\n<pre><code class=\"bash\">mysql&gt; describe Person;  +-------+--------------+------+-----+---------+----------------+  | Field | Type         | Null | Key | Default | Extra          |  +-------+--------------+------+-----+---------+----------------+  | id    | bigint(20)   | NO   | PRI | NULL    | auto_increment |  | name  | varchar(255) | NO   | UNI | NULL    |                |  +-------+--------------+------+-----+---------+----------------+  2 rows in set (0.00 sec) <\/code><\/pre>\n<p>  Liquibase \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0435 \u00ab\u0447\u0435\u0439\u043d\u0434\u0436\u0441\u0435\u0442\u044b\u00bb (changeset \u2014 \u043d\u0430\u0431\u043e\u0440 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439), XML-\u043a\u043e\u0434 \u0434\u043b\u044f \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432 DDL. \u041e\u043d\u0438 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0444\u0430\u0439\u043b\u044b \u0447\u0435\u0439\u043d\u0434\u0436\u043b\u043e\u0433\u043e\u0432 (changelog). \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0447\u0435\u0439\u043d\u0434\u0436\u0441\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0441\u0442 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 (\u0442\u044d\u0433 \u00abcreateTable\u00bb) \u0438 \u0434\u0432\u0430 \u0441\u0442\u043e\u043b\u0431\u0446\u0430 (\u0442\u044d\u0433 \u00abcolumn\u00bb).<\/p>\n<pre><code class=\"xml\">&lt;databasechangelog xmlns=&quot;http:\/\/www.liquibase.org\/xml\/ns\/dbchangelog&quot; xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:schemalocation=&quot;http:\/\/www.liquibase.org\/xml\/ns\/dbchangelog http:\/\/www.liquibase.org\/xml\/ns\/dbchangelog\/dbchangelog-2.0.xsd&quot;&gt;   &lt;changeset id=&quot;1&quot; author=&quot;mueller@synyx.de&quot; runonchange=&quot;true&quot;&gt;      &lt;createtable tablename=&quot;Person&quot;&gt;        &lt;column autoincrement=&quot;true&quot; name=&quot;id&quot; type=&quot;BIGINT&quot;&gt;          &lt;constraints nullable=&quot;false&quot; primarykey=&quot;true&quot;&gt;          &lt;\/constraints&gt;       &lt;\/column&gt;        &lt;column name=&quot;name&quot; type=&quot;VARCHAR(255)&quot;&gt;          &lt;constraints nullable=&quot;false&quot;&gt;          &lt;\/constraints&gt;       &lt;\/column&gt;      &lt;\/createtable&gt;    &lt;\/changeset&gt; &lt;\/databasechangelog&gt; <\/code><\/pre>\n<p>  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u044d\u0442\u043e\u0442 XML-\u043a\u043e\u0434, Liquibase \u0434\u043e\u0431\u0430\u0432\u0438\u0442 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u00abPerson\u00bb. \u041a\u043e\u043c\u0430\u043d\u0434\u0430, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0449\u0430\u044f \u044d\u0442\u043e \u0438\u0437 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u2014 \u00abupdate\u00bb:<\/p>\n<pre><code class=\"bash\">.\/liquibase --url=jdbc:mysql:\/\/localhost:3306\/liquiblog --driver=com.mysql.jdbc.Driver --username=root --password=&quot;&quot; --changeLogFile=db.changelog-0.1.0.xml update <\/code><\/pre>\n<p>  Liquibase \u0438\u043c\u0435\u0435\u0442 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0443\u044e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u043e\u0442\u043a\u0430\u0442\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0442\u0438\u043f\u043e\u0432 \u0447\u0435\u0439\u043d\u0434\u0436\u0441\u0435\u0442\u043e\u0432, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 \u00abcreateTable\u00bb. \u0415\u0441\u043b\u0438 \u043c\u044b \u0432\u044b\u0437\u043e\u0432\u0435\u043c Liquibase \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u0441 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u00abrollbackCount 1\u00bb \u0432\u043c\u0435\u0441\u0442\u043e \u00abupdate\u00bb, \u043f\u0440\u043e\u0438\u0437\u043e\u0439\u0434\u0435\u0442 \u043e\u0442\u043a\u0430\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0447\u0435\u0439\u043d\u0434\u0436\u0441\u0435\u0442\u0430: \u0442\u0430\u0431\u043b\u0438\u0446\u0430 PERSON \u0431\u0443\u0434\u0435\u0442 \u0443\u0434\u0430\u043b\u0435\u043d\u0430.<\/p>\n<p>  \u0414\u0440\u0443\u0433\u0438\u0435 \u0442\u0438\u043f\u044b \u0447\u0435\u0439\u043d\u0434\u0436\u0441\u0435\u0442\u043e\u0432 \u043d\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0443\u0434\u0430\u043b\u0435\u043d\u044b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438. \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0447\u0435\u0439\u043d\u0434\u0436\u0441\u0435\u0442\u044b, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 PERSON (\u0442\u044d\u0433 \u00abinsert\u00bb):<\/p>\n<pre><code class=\"xml\">&lt;databasechangelog xmlns=&quot;http:\/\/www.liquibase.org\/xml\/ns\/dbchangelog&quot; xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:schemalocation=&quot;http:\/\/www.liquibase.org\/xml\/ns\/dbchangelog http:\/\/www.liquibase.org\/xml\/ns\/dbchangelog\/dbchangelog-2.0.xsd&quot;&gt;   &lt;changeset id=&quot;init-1&quot; author=&quot;mueller@synyx.de&quot;&gt;      &lt;insert tablename=&quot;Person&quot;&gt;        &lt;column name=&quot;name&quot; value=&quot;John Doe&quot;&gt;        &lt;\/column&gt;     &lt;\/insert&gt;     &lt;rollback&gt;        DELETE FROM Person WHERE name LIKE 'John Doe';      &lt;\/rollback&gt;   &lt;\/changeset&gt; &lt;\/databasechangelog&gt; <\/code><\/pre>\n<p>  \u042f \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0442\u044d\u0433 \u00abrollback\u00bb, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 SQL-\u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b, \u043e\u0442\u043a\u0430\u0442\u044b\u0432\u0430\u044e\u0449\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u044d\u0442\u043e\u043c \u0447\u0435\u0439\u043d\u0434\u0436\u0441\u0435\u0442\u0435. \u042d\u0442\u043e\u0442 \u0442\u044d\u0433 \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043a\u0430\u043a SQL-\u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b, \u0442\u0430\u043a \u0438 \u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u0442\u044d\u0433\u0438 Liquibase.<br \/>  \u0422\u0430\u043a \u043a\u0430\u043a \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u0438\u043c\u0435\u0435\u043c \u0434\u0432\u0430 XML \u0444\u0430\u0439\u043b\u0430 \u0447\u0435\u0439\u043d\u0434\u0436\u043b\u043e\u0433\u043e\u0432, \u044f \u0441\u043e\u0437\u0434\u0430\u043b \u00ab\u0433\u043b\u0430\u0432\u043d\u044b\u0439\u00bb \u0444\u0430\u0439\u043b, \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u0434\u0440\u0443\u0433\u0438\u0435 \u0444\u0430\u0439\u043b\u044b \u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0435, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u043c \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0435\u0432\u0438\u0437\u0438\u0438 \u0411\u0414:<\/p>\n<pre><code class=\"xml\">&lt;databasechangelog xmlns=&quot;http:\/\/www.liquibase.org\/xml\/ns\/dbchangelog\/1.9&quot; xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:schemalocation=&quot;http:\/\/www.liquibase.org\/xml\/ns\/dbchangelog\/1.9                        http:\/\/www.liquibase.org\/xml\/ns\/dbchangelog\/dbchangelog-1.9.xsd&quot;&gt;      &lt;include file=&quot;db.changelog-0.1.0.xml&quot;&gt;&lt;\/include&gt;     &lt;include file=&quot;db.changelog-0.1.0.init.xml&quot;&gt;&lt;\/include&gt; &lt;\/databasechangelog&gt;  <\/code><\/pre>\n<p>  \u041f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u00abupdate\u00bb \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 \u0447\u0435\u0439\u043d\u0434\u0436\u0441\u0435\u0442\u043e\u0432 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430, \u0431\u044b\u043b \u043b\u0438 \u043e\u043d \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d \u043a \u0441\u0445\u0435\u043c\u0435. \u0415\u0441\u043b\u0438 \u0447\u0435\u0439\u043d\u0434\u0436\u0441\u0435\u0442 \u0435\u0449\u0435 \u043d\u0435 \u0431\u044b\u043b \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d, \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0435\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e Liquibase \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432\u043e \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 DATABASECHANGELOGS, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0435\u0439 \u0443\u0436\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u043d\u044b\u0435 \u0447\u0435\u0439\u043d\u0434\u0436\u0441\u0435\u0442\u044b, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0438\u0445 \u0445\u044d\u0448-\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f. \u0425\u044d\u0448\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043d\u0435\u043b\u044c\u0437\u044f \u0431\u044b\u043b\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0443\u0436\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u044b\u0435 \u0447\u0435\u0439\u043d\u0434\u0436\u0441\u0435\u0442\u044b.<\/p>\n<pre><code class=\"bash\">mysql&gt; select id, md5sum, description from DATABASECHANGELOG;  +--------+------------------------------------+--------------+  | id     | md5sum                             | description  |  +--------+------------------------------------+--------------+  | 1      | 3:5a36f447e90b35c3802cb6fe16cb12a7 | Create Table |  | init-1 | 3:43c29e0011ebfcfd9cfbbb8450179a41 | Insert Row   |  +--------+------------------------------------+--------------+  2 rows in set (0.00 sec) <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c, \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u043e\u0441\u043b\u043e\u0436\u043d\u0435\u0435: \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0441\u0445\u0435\u043c\u044b, \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0435\u0435 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0441\u0445\u0435\u043c\u044b \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445. \u0422\u0430\u0431\u043b\u0438\u0446\u0430 PERSON \u0432 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0438\u043c\u0435\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u043e\u043b\u0431\u0435\u0446 \u0438\u043c\u0435\u043d\u0438 NAME, \u0438 \u044f \u0445\u043e\u0447\u0443 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c NAME \u043d\u0430 \u0434\u0432\u0430 \u0441\u0442\u043e\u043b\u0431\u0446\u0430 \u2014 FIRSTNAME \u0438 LASTNAME. \u041f\u0435\u0440\u0435\u0434 \u043d\u0430\u0447\u0430\u043b\u043e\u043c \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f \u0411\u0414 \u044f \u0441\u043e\u0431\u0438\u0440\u0430\u044e\u0441\u044c \u043f\u0440\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c Liquibase \u00ab\u0442\u044d\u0433\u00bb, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043e\u0442\u043a\u0430\u0442\u0438\u0442\u044c \u0432\u0441\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043a \u044d\u0442\u043e\u043c\u0443 \u0442\u044d\u0433\u0443 \u0432 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c:<\/p>\n<pre><code class=\"bash\">.\/liquibase --url=jdbc:mysql:\/\/localhost:3306\/liquiblog --driver=com.mysql.jdbc.Driver --username=root --password=&quot;&quot; --changeLogFile=changelog-master.xml tag liquiblog_0_1_0 <\/code><\/pre>\n<p>  \u042f \u0441\u043e\u0437\u0434\u0430\u043b \u043d\u043e\u0432\u044b\u0439 \u0447\u0435\u0439\u043d\u0434\u0436\u0441\u0435\u0442, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u0434\u0432\u0430 \u043d\u043e\u0432\u044b\u0445 \u0441\u0442\u043e\u043b\u0431\u0446\u0430:<\/p>\n<pre><code class=\"xml\">&lt;changeset id=&quot;1&quot; author=&quot;mueller@synyx.de&quot; runonchange=&quot;true&quot;&gt;    &lt;addcolumn tablename=&quot;Person&quot;&gt;      &lt;column name=&quot;firstname&quot; type=&quot;VARCHAR(255)&quot;&gt;        &lt;constraints nullable=&quot;false&quot;&gt;        &lt;\/constraints&gt;     &lt;\/column&gt;      &lt;column name=&quot;lastname&quot; type=&quot;VARCHAR(255)&quot;&gt;        &lt;constraints nullable=&quot;false&quot;&gt;        &lt;\/constraints&gt;     &lt;\/column&gt;    &lt;\/addcolumn&gt;  &lt;\/changeset&gt; <\/code><\/pre>\n<p>  \u0418 \u0432 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 Liquibase \u0437\u043d\u0430\u0435\u0442 \u043a\u0430\u043a \u043e\u0442\u043a\u0430\u0442\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u0447\u0435\u0439\u043d\u0434\u0436\u0441\u0435\u0442, \u0442\u0430\u043a \u0447\u0442\u043e \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0442\u044d\u0433 \u00abrollback\u00bb.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0430 PERSON \u0438\u043c\u0435\u0435\u0442 \u0434\u0432\u0430 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0442\u043e\u043b\u0431\u0446\u0430 \u0438 \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u043e\u0437\u0430\u0431\u043e\u0442\u0438\u0442\u0441\u044f \u043e \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u043d\u043e\u0432\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u043f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c, \u043a\u0430\u043a \u0443\u0434\u0430\u043b\u0438\u043c \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u044b\u0439 \u0441\u0442\u043e\u043b\u0431\u0435\u0446 NAME. \u0422\u0430\u043a \u043a\u0430\u043a \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u043c \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f Liquibase \u00ab\u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438\u00bb, \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u044d\u0433 \u00absql\u00bb \u0434\u043b\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e SQL \u0432 \u0447\u0435\u0439\u043d\u0434\u0436\u0441\u0435\u0442.<\/p>\n<pre><code class=\"xml\">&lt;changeset author=&quot;mueller@synyx.de&quot; id=&quot;2&quot;&gt;    &lt;sql&gt;      UPDATE Person SET firstname = SUBSTRING_INDEX(name, ' ', 1);      UPDATE Person SET lastname = SUBSTRING_INDEX(name, ' ', -1);    &lt;\/sql&gt;    &lt;rollback&gt;      UPDATE Person SET firstname = '';      UPDATE Person SET lastname = '';    &lt;\/rollback&gt;  &lt;\/changeset&gt; <\/code><\/pre>\n<p>  \u0421\u043b\u0435\u0434\u0443\u0435\u0442 \u0443\u0447\u0435\u0441\u0442\u044c, \u0447\u0442\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0442\u044d\u0433\u0430 \u00abrollback\u00bb \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u0438\u0437\u043b\u0438\u0448\u043d\u0438\u043c, \u043d\u043e \u0441\u0430\u043c \u0442\u044d\u0433 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c \u0438\u0437-\u0437\u0430 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e Liquibase \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0442\u043a\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u0439\u043d\u0434\u0436\u0441\u0435\u0442\u044b:  <\/p>\n<ul>\n<li>\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u044f\u0432\u043d\u043e \u0438\u043c\u0435\u044e\u0442 \u0442\u044d\u0433 \u00abrollback\u00bb, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u00abcreateTable\u00bb<\/li>\n<li>\u0442\u044d\u0433 \u00abrollback\u00bb \u0431\u044b\u043b \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u044f\u0432\u043d\u043e<\/li>\n<\/ul>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 Liquibase \u0441 \u043e\u043f\u0446\u0438\u0435\u0439 \u00abupdate\u00bb, \u043d\u043e\u0432\u044b\u0439 \u0447\u0435\u0439\u043d\u0434\u0436\u0441\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u043a \u0441\u0445\u0435\u043c\u0435: \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u0442\u043e\u043b\u0431\u0446\u044b FIRSTNAME \u0438 LASTNAME \u0443\u0436\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u0434\u0430\u043d\u043d\u044b\u0435.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u044f \u0445\u043e\u0447\u0443 \u0438\u0437\u0431\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u043e\u0442 \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u0430 NAME.<\/p>\n<pre><code class=\"xml\">&lt;changeset id=&quot;3&quot; author=&quot;mueller@synyx.de&quot; runonchange=&quot;true&quot;&gt;    &lt;dropcolumn tablename=&quot;Person&quot; columnname=&quot;name&quot;&gt;    &lt;\/dropcolumn&gt;   &lt;rollback&gt;      &lt;addcolumn tablename=&quot;Person&quot;&gt;        &lt;column name=&quot;name&quot; type=&quot;VARCHAR(255)&quot;&gt;          &lt;constraints nullable=&quot;false&quot;&gt;          &lt;\/constraints&gt;       &lt;\/column&gt;      &lt;\/addcolumn&gt;      &lt;sql&gt;        UPDATE Person SET name = CONCAT(firstname, CONCAT(' ', lastname));     &lt;\/sql&gt;    &lt;\/rollback&gt; &lt;\/changeset&gt; <\/code><\/pre>\n<p>  \u0421\u0430\u043c \u0447\u0435\u0439\u043d\u0434\u0436\u0441\u0435\u0442 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442, \u0442\u0430\u043a \u043a\u0430\u043a Liquibase \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432, \u043d\u043e \u0442\u044d\u0433 \u00abrollback\u00bb \u0441\u0442\u0430\u043b \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u043c:   <\/p>\n<ol>\n<li>\u044f \u0437\u0430\u043d\u043e\u0432\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e \u0441\u0442\u0430\u0440\u044b\u0439 \u0441\u0442\u043e\u043b\u0431\u0435\u0446 NAME, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0442\u044d\u0433 \u00abaddColumn\u00bb<\/li>\n<li>\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e SQL-\u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u0434\u043b\u044f \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u044d\u0442\u043e\u043c \u0441\u0442\u043e\u043b\u0431\u0446\u0435<\/li>\n<\/ol>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0439:<\/p>\n<pre><code class=\"bash\">mysql&gt; select * from Person;  +----+-----------+------------+  | id | firstname | lastname   |  +----+-----------+------------+  |  1 | John      | Doe        |  +----+-----------+------------+  1 rows in set (0.00 sec)  <\/code><\/pre>\n<p>  \u0412 \u0441\u0432\u044f\u0437\u0438 \u0441 \u0442\u0435\u043c, \u0447\u0442\u043e \u043c\u044b \u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u043c\u0435\u0442\u0438\u043b\u0438 \u0441\u0445\u0435\u043c\u0443 \u0442\u044d\u0433\u043e\u043c, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u043e\u0442\u043a\u0430\u0442\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432\u043e \u0432\u0441\u0435\u0445 \u043d\u0430\u0448\u0438\u0445 \u0447\u0435\u0439\u043d\u0434\u0436\u0441\u0435\u0442\u0430\u0445, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043e\u0442\u043a\u0430\u0442\u0438\u0442\u044c \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0441\u0445\u0435\u043c\u044b \u0411\u0414 \u0431\u0435\u0437 \u043f\u043e\u0442\u0435\u0440\u0438 \u0434\u0430\u043d\u043d\u044b\u0445! \u0412\u044b\u0437\u044b\u0432\u0430\u044f\u2026<\/p>\n<pre><code class=\"bash\">.\/liquibase --url=jdbc:mysql:\/\/localhost:3306\/liquiblog --driver=com.mysql.jdbc.Driver --username=root --password=&quot;&quot; --changeLogFile=changelog-master.xml rollback liquiblog_0_1_0 <\/code><\/pre>\n<p>  \u2026 \u043c\u044b \u0432\u0435\u0440\u043d\u0443\u043b\u0438\u0441\u044c \u043a \u043e\u043f\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044e \u0441\u0445\u0435\u043c\u044b \u0411\u0414!<\/p>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440 \u0441 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435\u043c\/\u0441\u043b\u0438\u044f\u043d\u0438\u0435\u043c \u0441\u0442\u0440\u043e\u043a \u0438\u043c\u0435\u043d\u0438 PERSON \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0434\u0443\u043c\u0430\u043d\u043d\u044b\u0439, \u043d\u043e \u0442\u043e\u0442 \u0436\u0435 \u043f\u0440\u0438\u043d\u0446\u0438\u043f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d \u0434\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u044b\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0434\u0430\u043d\u043d\u044b\u0445.<br \/>  \u041d\u0430 \u0438\u0434\u0435\u044e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u0430 \u044f \u043d\u0430\u0442\u043a\u043d\u0443\u043b\u0441\u044f \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430\u0434 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435\u043c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0434\u043e\u043c\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430 (\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u043e\u0434\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435) \u043d\u0430 \u0442\u0440\u0438 \u0447\u0430\u0441\u0442\u0438: \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0442\u043d\u044b\u0439 \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043a\u043b\u0430\u0441\u0441 \u0438 \u0434\u0432\u0430 \u043f\u043e\u0434\u043a\u043b\u0430\u0441\u0441\u0430, \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0446\u0435\u043b\u043e\u0441\u0442\u043d\u043e\u0441\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0445.        \t\t   \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/178665\/\"> http:\/\/habrahabr.ru\/post\/178665\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">       \u041d\u0435 \u0442\u0430\u043a \u0434\u0430\u0432\u043d\u043e \u043c\u044b \u043d\u0430\u0447\u0430\u043b\u0438 \u0432\u043d\u0435\u0434\u0440\u044f\u0442\u044c Liquibase \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0439 \u0441\u0445\u0435\u043c\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u043d\u0430\u0448\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432, \u043d\u043e\u0432\u044b\u0445 \u0438 \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445. \u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0439 \u0441\u0445\u0435\u043c\u044b \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 Liquibase \u0445\u043e\u0440\u043e\u0448\u0430 \u0442\u0435\u043c, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0432\u0435\u0440\u0441\u0438\u0439, VCS, (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, Git) \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u0432\u0438\u0437\u0438\u044f\u043c\u0438 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0413\u043e\u0432\u043e\u0440\u044f \u0431\u043e\u043b\u0435\u0435 \u0442\u043e\u0447\u043d\u043e, VCS \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0434\u043b\u044f \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0441\u0445\u0435\u043c\u044b \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u043e\u0434\u043d\u043e\u0439 \u0440\u0435\u0432\u0438\u0437\u0438\u0438 \u0432 \u0434\u0440\u0443\u0433\u0443\u044e.<\/p>\n<p>  \u0425\u043e\u0442\u044f \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f \u0441\u0445\u0435\u043c\u044b \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435\u0439 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e, \u0437\u0430\u0434\u0430\u0447\u0430 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0441\u043b\u043e\u0436\u043d\u0435\u0435 \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0436\u0435\u043b\u0430\u043d\u0438\u0435 \u043e\u0442\u043a\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u0445\u0435\u043c\u044b \u0431\u0435\u0437 \u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0437\u0430\u043d\u043e\u0432\u043e. <br \/>  \u041a\u0440\u043e\u043c\u0435 \u0441\u0445\u0435\u043c\u044b \u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 DDL, Liquibase \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043c\u0438\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u043d\u0430\u043a\u0430\u0442\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0438\u0445 \u043e\u0442\u043a\u0430\u0442\u0430. <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-178665","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/178665","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=178665"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/178665\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=178665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=178665"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=178665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}