add init-db.sql
This commit is contained in:
parent
b68f1b51ce
commit
f674c19a67
1
.gitignore
vendored
1
.gitignore
vendored
@ -155,6 +155,7 @@ dist/
|
|||||||
|
|
||||||
# PostgreSQL
|
# PostgreSQL
|
||||||
*.sql
|
*.sql
|
||||||
|
!init-db.sql
|
||||||
|
|
||||||
# Database dumps
|
# Database dumps
|
||||||
*.dump
|
*.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
|
||||||
Loading…
x
Reference in New Issue
Block a user