-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path00_master_setup.sql
More file actions
34 lines (28 loc) · 2.47 KB
/
00_master_setup.sql
File metadata and controls
34 lines (28 loc) · 2.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
-- ============================================================================
-- Finance Analytics Database - Master Setup Script
-- ============================================================================
-- Description: Runs all setup scripts in the correct order
\echo ''
\echo '════════════════════════════════════════════════════════'
\echo 'Creating Tables...'
\echo '════════════════════════════════════════════════════════'
\i /Users/adamfarahx/Downloads/finance_project1/01_create_tables.sql
\echo ''
\echo '════════════════════════════════════════════════════════'
\echo 'Creating Indexes...'
\echo '════════════════════════════════════════════════════════'
\i /Users/adamfarahx/Downloads/finance_project1/02_create_indexes.sql
\echo ''
\echo '════════════════════════════════════════════════════════'
\echo 'Creating Triggers & Functions...'
\echo '════════════════════════════════════════════════════════'
\i /Users/adamfarahx/Downloads/finance_project1/04_create_triggers.sql
\echo ''
\echo '════════════════════════════════════════════════════════'
\echo 'Loading Sample Data...'
\echo '════════════════════════════════════════════════════════'
\i /Users/adamfarahx/Downloads/finance_project1/05_seed_data.sql
\echo ''
\echo '════════════════════════════════════════════════════════'
\echo '✓ DATABASE SETUP COMPLETE!'
\echo '════════════════════════════════════════════════════════'