<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Finding diffs between actual and expected schema contents?</title><link>https://community.appian.com/discussions/f/data/10841/finding-diffs-between-actual-and-expected-schema-contents</link><description>I&amp;#39;m still new to Appian, so I apologize if I get some of the terminology incorrect. 
 I am seeing deployment errors in the deploymentautomation.log: 
 2017-08-04 14:24:17,577 [main] INFO com.appiancorp.ps.plugins.automatedimport.remote.DeployUtils - Status</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Finding diffs between actual and expected schema contents?</title><link>https://community.appian.com/thread/99923?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2022 02:10:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:01ee8e37-18bc-463c-8f5c-caee7f802cdd</guid><dc:creator>Thenmozhi Mohanakrishnan</dc:creator><description>&lt;pre&gt;The database schema does not map to the structure expected by the following datastores: [null]. No DDL files exist to update the datastore schema..&lt;br /&gt;&lt;br /&gt;In my case, I was getting the same above error when I missed to push a CDT object, but included that CDTs entity in the DataStore. So was able to fix it by adding the missing CDT.&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Finding diffs between actual and expected schema contents?</title><link>https://community.appian.com/thread/47406?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2017 09:51:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:92f7f003-da8d-49f9-9538-23554b4b7cbd</guid><dc:creator>josep</dc:creator><description>I am glad you solved the issue, add this verification to your checklist, so the next time you don&amp;#39;t spend too much time on it.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Finding diffs between actual and expected schema contents?</title><link>https://community.appian.com/thread/47379?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2017 19:53:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:217ab028-1c97-48e0-859b-13203af79041</guid><dc:creator>bruceh0001</dc:creator><description>Hi Abhinav/Jose,&lt;br /&gt;
&lt;br /&gt;
Both of you had the right ideas, it was a combination of a missing synonym and a missing grant on the synonym for a sequence.  Our privilege separation requires synonyms for the schema access to work right, and one of those grants was missing.  Thanks to you both for the pointers in the right direction, much appreciated!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Finding diffs between actual and expected schema contents?</title><link>https://community.appian.com/thread/47378?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2017 16:42:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:32a6cf12-77e7-44bf-8c6d-cea4e09d1dde</guid><dc:creator>abhinavg712</dc:creator><description>Extra DDL changes does not matter as long as they are not used in data store mappings. &lt;br /&gt;
&lt;br /&gt;
Can you share the inspection logs please for data store package.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Finding diffs between actual and expected schema contents?</title><link>https://community.appian.com/thread/47377?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2017 16:11:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5e287db-2718-4ece-8f54-8762c2d8024f</guid><dc:creator>bruceh0001</dc:creator><description>Unfortunately not, still getting errors after the DDL scripts were run because we&amp;#39;re still missing something.  I assume any &amp;quot;extra&amp;quot; stuff will be fine as long as we&amp;#39;re not missing a table/column/grant that we need, is that correct?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Finding diffs between actual and expected schema contents?</title><link>https://community.appian.com/thread/47376?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2017 16:09:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:545f4618-659d-436b-9b07-839bfa5ff967</guid><dc:creator>abhinavg712</dc:creator><description>So, the issue has been resolved ?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Finding diffs between actual and expected schema contents?</title><link>https://community.appian.com/thread/47375?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2017 14:44:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ff3d5171-d06c-4211-b3b2-785feb9a8b16</guid><dc:creator>bruceh0001</dc:creator><description>Thanks Abhinav.  That&amp;#39;s actually part of the issue I&amp;#39;m facing.  One of my QA engineers ran a bad DDL script and then ran another over top of it, which put us in a bit of a pickle w.r.t. the current state of the database.  Wanted to reply quickly to verify that this step was indeed completed, and in this case actually caused the issue.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Finding diffs between actual and expected schema contents?</title><link>https://community.appian.com/thread/47374?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2017 14:42:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:323ad9fd-0c8a-4791-9c7e-b2d2995d2eb1</guid><dc:creator>bruceh0001</dc:creator><description>Hi Jose,&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;ll check the grants.  The DB diffs I&amp;#39;ve run so far are showing the structure itself is the same as the source DB that the changes came from.&lt;br /&gt;
&lt;br /&gt;
Dumb question (speaking from ignorance again).  If I import using the force_import flag, then verify the datastore, would that tell me what I&amp;#39;m missing?  Any irreversible risks with this approach?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Finding diffs between actual and expected schema contents?</title><link>https://community.appian.com/thread/47358?ContentTypeID=1</link><pubDate>Sat, 05 Aug 2017 16:17:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:66df4e39-1e6b-4086-afe3-261472ebf403</guid><dc:creator>abhinavg712</dc:creator><description>Before deploying your Appian packages containing Datastores, can you makes sure the Target Database is updated with respective DDL changes, if not, please run the DDL before inspecting  the Datastores containing package. &lt;br /&gt;
&lt;br /&gt;
Datastores being exported from source system has updated data mapping resulted in the error being seen on target system.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Finding diffs between actual and expected schema contents?</title><link>https://community.appian.com/thread/47356?ContentTypeID=1</link><pubDate>Sat, 05 Aug 2017 00:12:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e9f00bbf-da05-4bca-9863-3cd740ef3719</guid><dc:creator>josep</dc:creator><description>Hi Bruce, &lt;br /&gt;
&lt;br /&gt;
Depending on the database you are using  you can have different options to compare, for the tags it seems like you have oracle, then you can use SQL Developer to compare the surce and target and see the structure difference:&lt;br /&gt;
SQL Developer &amp;gt; MEnu:Tools &amp;gt; option database Diff &lt;br /&gt;
&lt;br /&gt;
- Sounds like you have run the &amp;quot;Verify and publish&amp;quot; in the datasrore?&lt;br /&gt;
- Not always is the structure,,  take a look at the &amp;quot;Grants&amp;quot; (security )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Best Regards &lt;br /&gt;
Jose Perez&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>