Updated restoreDeletedItem stored procedure to include updating the docversions table when restoring a deleted item
Changed name of database server for Bodine’s new computer
This commit is contained in:
parent
22ee85c457
commit
a5790a4963
@ -1082,6 +1082,7 @@ AS
|
||||
UPDATE tblTransitions SET DeleteStatus = 0 WHERE deletestatus = @deleteid --FromID IN (SELECT ContentID FROM ContentAudits WHERE DeleteStatus = @DeleteID)
|
||||
IF @NextID IS NOT NULL BEGIN
|
||||
UPDATE Items SET PreviousID = @ItemID WHERE ItemID = @NextID
|
||||
UPDATE DocVersions SET ItemID = @ItemID WHERE ItemID = @NextID
|
||||
IF @ContentID IS NOT NULL BEGIN
|
||||
UPDATE Parts SET ItemID = @ItemID WHERE ItemID = @NextID and ContentID = @ContentID
|
||||
--print 'old code'
|
||||
|
@ -91,8 +91,8 @@
|
||||
<add name="VEPROMS_LOCAL" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=VEPROMS;Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
<add name="VEPROMS_RMARK_DEBUG" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
<add name="VEPROMS_RMARK_DEMO" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
<add name="VEPROMS_BODINE_DEBUG" connectionString="Data Source=VOLIAN;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
<add name="VEPROMS_BODINE_DEMO" connectionString="Data Source=VOLIAN;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
<add name="VEPROMS_BODINE_DEBUG" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
<add name="VEPROMS_BODINE_DEMO" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<userSettings>
|
||||
<VEPROMS.Properties.Settings>
|
||||
|
Loading…
x
Reference in New Issue
Block a user