-- MARS-828 Test Installation (Automated)
-- This script bypasses ACCEPT prompts for automated testing

SET SERVEROUTPUT ON SIZE UNLIMITED
SET VERIFY OFF
SET FEEDBACK ON
SET ECHO ON

PROMPT ===============================================
PROMPT MARS-828 Automated Test Installation
PROMPT ===============================================

-- Step 1: Add columns
@@01_MARS_828_install_add_archival_strategy_columns.sql

-- Step 2: Create trigger  
@@02_MARS_828_install_archival_strategy_trigger.sql

-- Step 3: Deploy package spec
@@03_MARS_828_install_CT_MRDS_FILE_ARCHIVER_SPEC.sql

-- Step 4: Deploy package body
@@04_MARS_828_install_CT_MRDS_FILE_ARCHIVER_BODY.sql

-- Step 5: Verify
@@05_MARS_828_verify_installation.sql

-- Step 6: Track version
@@06_MARS_828_track_version.sql

-- Step 7: Verify packages
@@verify_packages_version.sql

PROMPT ===============================================
PROMPT Test Installation Complete!
PROMPT ===============================================
