Add project files:
- Add database initialization scripts - Add configuration files - Add documentation - Add public assets - Add source code structure - Update README
This commit is contained in:
parent
372943801d
commit
fde5b5e318
39 changed files with 10099 additions and 187 deletions
15
db/verify.sql
Normal file
15
db/verify.sql
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
-- Check if table exists
|
||||
SELECT EXISTS (
|
||||
SELECT FROM information_schema.tables
|
||||
WHERE table_schema = 'public'
|
||||
AND table_name = 'businesses'
|
||||
);
|
||||
|
||||
-- Check table structure
|
||||
SELECT column_name, data_type, is_nullable
|
||||
FROM information_schema.columns
|
||||
WHERE table_schema = 'public'
|
||||
AND table_name = 'businesses';
|
||||
|
||||
-- Check row count
|
||||
SELECT count(*) FROM businesses;
|
||||
Loading…
Add table
Add a link
Reference in a new issue