Skip to content

Commit

Permalink
deploy: 7326182
Browse files Browse the repository at this point in the history
  • Loading branch information
ewinnington committed Oct 5, 2024
1 parent 320f87e commit 96759f7
Show file tree
Hide file tree
Showing 90 changed files with 3,203 additions and 3,203 deletions.
4 changes: 2 additions & 2 deletions feed.atom
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Eric Winnington</title>
<link rel="self" href="http://ewinnington.github.io/" />
<rights>2024</rights>
<updated>2024-10-05T08:57:06Z</updated>
<updated>2024-10-05T09:06:06Z</updated>
<subtitle>A collection of thoughts, code and snippets.</subtitle>
<entry>
<id>http://ewinnington.github.io/posts/Audit-Trail-Oracle</id>
Expand All @@ -19,7 +19,7 @@
&lt;h2 id="solution-overview"&gt;Solution Overview&lt;/h2&gt;
&lt;p&gt;We introduce an audit table that records every change made to the database. The audit table will store serialized JSON representations of operations like &lt;code&gt;update&lt;/code&gt;, &lt;code&gt;insert&lt;/code&gt;, and &lt;code&gt;delete&lt;/code&gt;. We'll also provide C# code to apply and revert these changes, effectively creating an undo stack.&lt;/p&gt;
&lt;p&gt;Let's use the following DB Schema for illustration:&lt;/p&gt;
&lt;p&gt;&lt;img src="/posts/images/audit-trail/TableStructureBlog.png" class="img-fluid" alt="TableVide" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/posts/images/audit-trail/TableStructureBlog.png" class="img-fluid" width="60%" alt="TableSchema" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Primary Keys: Each table has a primary key (e.g., &lt;code&gt;ProjectID&lt;/code&gt;, &lt;code&gt;InstrumentID&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Foreign Keys: Child tables reference their parent via foreign keys (e.g., &lt;code&gt;instruments.ProjectID&lt;/code&gt; references &lt;code&gt;projects.ProjectID&lt;/code&gt;).&lt;/li&gt;
Expand Down
6 changes: 3 additions & 3 deletions feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<link>http://ewinnington.github.io/</link>
<description>A collection of thoughts, code and snippets.</description>
<copyright>2024</copyright>
<pubDate>Sat, 05 Oct 2024 08:57:06 GMT</pubDate>
<lastBuildDate>Sat, 05 Oct 2024 08:57:06 GMT</lastBuildDate>
<pubDate>Sat, 05 Oct 2024 09:06:06 GMT</pubDate>
<lastBuildDate>Sat, 05 Oct 2024 09:06:06 GMT</lastBuildDate>
<item>
<title>Using an audit trail table on Oracle</title>
<link>http://ewinnington.github.io/posts/Audit-Trail-Oracle</link>
Expand All @@ -21,7 +21,7 @@
&lt;h2 id="solution-overview"&gt;Solution Overview&lt;/h2&gt;
&lt;p&gt;We introduce an audit table that records every change made to the database. The audit table will store serialized JSON representations of operations like &lt;code&gt;update&lt;/code&gt;, &lt;code&gt;insert&lt;/code&gt;, and &lt;code&gt;delete&lt;/code&gt;. We'll also provide C# code to apply and revert these changes, effectively creating an undo stack.&lt;/p&gt;
&lt;p&gt;Let's use the following DB Schema for illustration:&lt;/p&gt;
&lt;p&gt;&lt;img src="/posts/images/audit-trail/TableStructureBlog.png" class="img-fluid" alt="TableVide" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/posts/images/audit-trail/TableStructureBlog.png" class="img-fluid" width="60%" alt="TableSchema" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Primary Keys: Each table has a primary key (e.g., &lt;code&gt;ProjectID&lt;/code&gt;, &lt;code&gt;InstrumentID&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Foreign Keys: Child tables reference their parent via foreign keys (e.g., &lt;code&gt;instruments.ProjectID&lt;/code&gt; references &lt;code&gt;projects.ProjectID&lt;/code&gt;).&lt;/li&gt;
Expand Down
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ <h2 id="problem-description">Problem Description</h2>
<h2 id="solution-overview">Solution Overview</h2>
<p>We introduce an audit table that records every change made to the database. The audit table will store serialized JSON representations of operations like <code>update</code>, <code>insert</code>, and <code>delete</code>. We'll also provide C# code to apply and revert these changes, effectively creating an undo stack.</p>
<p>Let's use the following DB Schema for illustration:</p>
<p><img src="/posts/images/audit-trail/TableStructureBlog.png" class="img-fluid" alt="TableVide" /></p>
<p><img src="/posts/images/audit-trail/TableStructureBlog.png" class="img-fluid" width="60%" alt="TableSchema" /></p>
<ul>
<li>Primary Keys: Each table has a primary key (e.g., <code>ProjectID</code>, <code>InstrumentID</code>).</li>
<li>Foreign Keys: Child tables reference their parent via foreign keys (e.g., <code>instruments.ProjectID</code> references <code>projects.ProjectID</code>).</li>
Expand Down Expand Up @@ -719,14 +719,14 @@ <h5>Tags</h5>
<ul class="actions small">
<li><a role="button" href="/tags/Migrated" class="button small">Migrated (38)</a></li>
<li><a role="button" href="/tags/Database" class="button small">Database (11)</a></li>
<li><a role="button" href="/tags/CSharp" class="button small">CSharp (10)</a></li>
<li><a role="button" href="/tags/Thoughts" class="button small">Thoughts (10)</a></li>
<li><a role="button" href="/tags/Oracle" class="button small">Oracle (7)</a></li>
<li><a role="button" href="/tags/Jupyter-notebook" class="button small">Jupyter notebook (7)</a></li>
<li><a role="button" href="/tags/CSharp" class="button small">CSharp (10)</a></li>
<li><a role="button" href="/tags/Dotnet-try" class="button small">Dotnet try (7)</a></li>
<li><a role="button" href="/tags/Jupyter-notebook" class="button small">Jupyter notebook (7)</a></li>
<li><a role="button" href="/tags/Architecture" class="button small">Architecture (7)</a></li>
<li><a role="button" href="/tags/Oracle" class="button small">Oracle (7)</a></li>
<li><a role="button" href="/tags/Rpi" class="button small">Rpi (4)</a></li>
<li><a role="button" href="/tags/CommandLine" class="button small">CommandLine (4)</a></li>
<li><a role="button" href="/tags/Space" class="button small">Space (4)</a></li>
</ul>
<ul class="actions small">
<li><a href="/tags" class="button small">View All Tags &rarr;</a></li>
Expand Down
2 changes: 1 addition & 1 deletion posts/Audit-Trail-Oracle.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ <h2 id="problem-description">Problem Description</h2>
<h2 id="solution-overview">Solution Overview</h2>
<p>We introduce an audit table that records every change made to the database. The audit table will store serialized JSON representations of operations like <code>update</code>, <code>insert</code>, and <code>delete</code>. We'll also provide C# code to apply and revert these changes, effectively creating an undo stack.</p>
<p>Let's use the following DB Schema for illustration:</p>
<p><img src="/posts/images/audit-trail/TableStructureBlog.png" class="img-fluid" alt="TableVide" /></p>
<p><img src="/posts/images/audit-trail/TableStructureBlog.png" class="img-fluid" width="60%" alt="TableSchema" /></p>
<ul>
<li>Primary Keys: Each table has a primary key (e.g., <code>ProjectID</code>, <code>InstrumentID</code>).</li>
<li>Foreign Keys: Child tables reference their parent via foreign keys (e.g., <code>instruments.ProjectID</code> references <code>projects.ProjectID</code>).</li>
Expand Down
60 changes: 30 additions & 30 deletions posts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ <h2>Reflections on Webassembly - May/Nov 19</h2>
<p><em>Posted on Sunday, 3 November 2019</em></p>
</div>
<div>
<a href="/posts/R-Redis-Json">
<h2>R - Reading JSON from redis</h2>
<a href="/posts/wyam-github-actions">
<h2>Using Github actions to build Wyam and publish to github pages</h2>
</a>
<p><em>Posted on Sunday, 3 November 2019</em></p>
</div>
Expand All @@ -278,8 +278,8 @@ <h2>R - Reading binary files</h2>
<p><em>Posted on Sunday, 3 November 2019</em></p>
</div>
<div>
<a href="/posts/wyam-github-actions">
<h2>Using Github actions to build Wyam and publish to github pages</h2>
<a href="/posts/R-Redis-Json">
<h2>R - Reading JSON from redis</h2>
</a>
<p><em>Posted on Sunday, 3 November 2019</em></p>
</div>
Expand Down Expand Up @@ -368,14 +368,14 @@ <h2>SqlFiddle - A way to share SQL snippets so that they can be tested in the br
<p><em>Posted on Tuesday, 5 November 2013</em></p>
</div>
<div>
<a href="/posts/debugging-tips">
<h2>Debugging tips</h2>
<a href="/posts/raspberry-pi-update-arkos">
<h2>Raspberry Pi update Arkos</h2>
</a>
<p><em>Posted on Thursday, 31 October 2013</em></p>
</div>
<div>
<a href="/posts/raspberry-pi-update-arkos">
<h2>Raspberry Pi update Arkos</h2>
<a href="/posts/debugging-tips">
<h2>Debugging tips</h2>
</a>
<p><em>Posted on Thursday, 31 October 2013</em></p>
</div>
Expand Down Expand Up @@ -407,26 +407,26 @@ <h2>Making Fortran DLLs to interface with VBA in Excel</h2>
<p><em>Posted on Thursday, 24 May 2012</em></p>
</div>
<div>
<a href="/posts/styling-a-listview-with-a-horizontal-itemspanel-and-a-header">
<h2>Styling a ListView with a Horizontal ItemsPanel and a Header</h2>
<a href="/posts/styling-a-checkbox-as-an-ellipse">
<h2>Styling a Checkbox as an Ellipse</h2>
</a>
<p><em>Posted on Wednesday, 23 May 2012</em></p>
</div>
<div>
<a href="/posts/styling-a-checkbox-as-an-ellipse">
<h2>Styling a Checkbox as an Ellipse</h2>
<a href="/posts/styling-a-listview-with-a-horizontal-itemspanel-and-a-header">
<h2>Styling a ListView with a Horizontal ItemsPanel and a Header</h2>
</a>
<p><em>Posted on Wednesday, 23 May 2012</em></p>
</div>
<div>
<a href="/posts/python-csv-handling">
<h2>Python - CSV handling</h2>
<a href="/posts/javascript-google-maps-basics">
<h2>Javascript google maps basics</h2>
</a>
<p><em>Posted on Tuesday, 24 April 2012</em></p>
</div>
<div>
<a href="/posts/python-neat-little-file-http-download-routine">
<h2>Python - Neat little file http download routine</h2>
<a href="/posts/python-csv-handling">
<h2>Python - CSV handling</h2>
</a>
<p><em>Posted on Tuesday, 24 April 2012</em></p>
</div>
Expand All @@ -437,8 +437,8 @@ <h2>KML File structure</h2>
<p><em>Posted on Tuesday, 24 April 2012</em></p>
</div>
<div>
<a href="/posts/javascript-google-maps-basics">
<h2>Javascript google maps basics</h2>
<a href="/posts/python-neat-little-file-http-download-routine">
<h2>Python - Neat little file http download routine</h2>
</a>
<p><em>Posted on Tuesday, 24 April 2012</em></p>
</div>
Expand All @@ -461,26 +461,26 @@ <h2>Emotes on iPhones iOS5</h2>
<p><em>Posted on Wednesday, 28 March 2012</em></p>
</div>
<div>
<a href="/posts/google-doesnt-need-to-worry">
<h2>Google doesn&#x27;t need to worry</h2>
<a href="/posts/wpf-dynamicdatadisplay-a-chart-component-that-works">
<h2>WPF - DynamicDataDisplay - A Chart component that works</h2>
</a>
<p><em>Posted on Saturday, 11 February 2012</em></p>
</div>
<div>
<a href="/posts/wpf-avalondock-a-docking-component">
<h2>WPF - AvalonDock - A Docking component</h2>
<a href="/posts/getting-my-ip-on-my-raspberrypi-for-a-script">
<h2>Getting my ip on my Raspberry pi for a script</h2>
</a>
<p><em>Posted on Saturday, 11 February 2012</em></p>
</div>
<div>
<a href="/posts/wpf-dynamicdatadisplay-a-chart-component-that-works">
<h2>WPF - DynamicDataDisplay - A Chart component that works</h2>
<a href="/posts/google-doesnt-need-to-worry">
<h2>Google doesn&#x27;t need to worry</h2>
</a>
<p><em>Posted on Saturday, 11 February 2012</em></p>
</div>
<div>
<a href="/posts/getting-my-ip-on-my-raspberrypi-for-a-script">
<h2>Getting my ip on my Raspberry pi for a script</h2>
<a href="/posts/wpf-avalondock-a-docking-component">
<h2>WPF - AvalonDock - A Docking component</h2>
</a>
<p><em>Posted on Saturday, 11 February 2012</em></p>
</div>
Expand Down Expand Up @@ -530,14 +530,14 @@ <h1>2011</h1>
<hr />

<div>
<a href="/posts/setting-up-wordpress-publishing-from-iphone">
<h2>Setting up Wordpress publishing from iPhone</h2>
<a href="/posts/the-livescribe-echo-pen">
<h2>The Livescribe Echo pen</h2>
</a>
<p><em>Posted on Saturday, 31 December 2011</em></p>
</div>
<div>
<a href="/posts/the-livescribe-echo-pen">
<h2>The Livescribe Echo pen</h2>
<a href="/posts/setting-up-wordpress-publishing-from-iphone">
<h2>Setting up Wordpress publishing from iPhone</h2>
</a>
<p><em>Posted on Saturday, 31 December 2011</em></p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion sitemap.xml

Large diffs are not rendered by default.

Loading

0 comments on commit 96759f7

Please sign in to comment.