Creates the required database tables for the application.

Behavior: Ensures all required database tables exist by creating any that are missing. This is an idempotent operation and can be safely called multiple times.

Authorization: Requires an authenticated user via the class-level [Authorize] attribute.

Side Effects: Creates database tables that do not already exist. Existing tables are not modified.

Error Scenarios: Returns 400 if the database setup fails due to connectivity or permission issues.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Responses
200

Database tables were successfully created or already exist.

401

Unauthorized. The caller must provide a valid Bearer token.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json