Re:Some SQL Tricks of an Application DBA
by niccl on Wednesday July 29, 2020 @05:14PM
(#23991672)
My fix for this is to rename the table to something like _b_<table_name> then create a view <table_name> that excludes the 'deleted' values (based on the value in DeletedReason column). That way you make one change to the structure when you create the column, and everything else Just Works
[ Parent
| on HN ]