add init-db.sql
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -155,6 +155,7 @@ dist/
|
||||
|
||||
# PostgreSQL
|
||||
*.sql
|
||||
!init-db.sql
|
||||
|
||||
# Database dumps
|
||||
*.dump
|
||||
|
||||
11
init-db.sql
Normal file
11
init-db.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
-- Optional database initialization script
|
||||
-- This file will be executed when the PostgreSQL container starts for the first time
|
||||
|
||||
-- Create extensions if needed
|
||||
-- CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
|
||||
|
||||
-- You can add any initial database setup here
|
||||
-- For example, creating additional users, setting permissions, etc.
|
||||
|
||||
-- Note: Your FastAPI app with Alembic will handle the actual table creation
|
||||
-- This file is mainly for any PostgreSQL-specific setup
|
||||
Reference in New Issue
Block a user