<p>I'd like some guidance about if this is the correct approach, and where I should look to get the <code>view_definition</code> to ingest the fuller materialised view ddl statement for example:</p>
<div class="snippet-clipboard-content position-relative" data-snippet-clipboard-copy-content="create materialized view mv_alternatives
refresh next trunc(sysdate + 1) + 6/24
as
select alts.identifier,
count(*) as alternatives
from (
select distinct(identifier) from item_alternate
union all
select distinct(identifier) from item_replacement
) alts
group by alts.identifier
"><pre><code>create materialized view mv_alternatives
refresh next trunc(sysdate + 1) + 6/24
as
select alts.identifier,
count(*) as alternatives
from (
select distinct(identifier) from item_alternate
union all
select distinct(identifier) from item_replacement
) alts
group by alts.identifier
</code></pre></div>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/dbsrgits/dbix-class-schema-loader/pull/25'>https://github.com/dbsrgits/dbix-class-schema-loader/pull/25</a></p>
<h4>Commit Summary</h4>
<ul>
<li>this patch allows us to extract DDL for materialized views ... The deploy part of the problem is unsolved as is oracle's schedule declaration</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/dbsrgits/dbix-class-schema-loader/pull/25/files#diff-f58317f66e06a7ff4aaa94385b0b0b65dbcdf863fe27715b7af9040c2400a174">lib/DBIx/Class/Schema/Loader/DBI/Oracle.pm</a>
(22)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/dbsrgits/dbix-class-schema-loader/pull/25.patch'>https://github.com/dbsrgits/dbix-class-schema-loader/pull/25.patch</a></li>
<li><a href='https://github.com/dbsrgits/dbix-class-schema-loader/pull/25.diff'>https://github.com/dbsrgits/dbix-class-schema-loader/pull/25.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/dbsrgits/dbix-class-schema-loader/pull/25">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AACJ4AS4P5P7XCBGBCFAQADUBFFVDANCNFSM5DYHUNHQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AACJ4AVBAJE7LGOP5YW3XFDUBFFVDA5CNFSM5DYHUNH2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4OZMM4YA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/dbsrgits/dbix-class-schema-loader/pull/25",
"url": "https://github.com/dbsrgits/dbix-class-schema-loader/pull/25",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>