Changes: - Remove deprecated Fengling.Activity and YarpGateway.Admin projects - Add points processing services with distributed lock support - Update Vben frontend with gateway management pages - Add gateway config controller and database listener - Update routing to use header-mixed-nav layout - Add comprehensive test suites for Member services - Add YarpGateway integration tests - Update package versions in Directory.Packages.props Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
24 lines
796 B
SQL
24 lines
796 B
SQL
-- PostgreSQL Initialization Script for NetCorePal Template
|
|
-- This script creates the necessary database and user for development
|
|
|
|
-- Create development database if it doesn't exist
|
|
SELECT 'CREATE DATABASE abctemplate'
|
|
WHERE NOT EXISTS (SELECT FROM pg_database WHERE datname = 'abctemplate')\gexec
|
|
|
|
-- Create a development user (optional - you can use postgres for development)
|
|
-- DO
|
|
-- $do$
|
|
-- BEGIN
|
|
-- IF NOT EXISTS (
|
|
-- SELECT FROM pg_catalog.pg_roles
|
|
-- WHERE rolname = 'devuser') THEN
|
|
-- CREATE ROLE devuser LOGIN PASSWORD 'devpass123';
|
|
-- END IF;
|
|
-- END
|
|
-- $do$;
|
|
|
|
-- Grant privileges to development user
|
|
-- GRANT ALL PRIVILEGES ON DATABASE abctemplate TO devuser;
|
|
|
|
-- Display completion message
|
|
SELECT 'PostgreSQL initialization completed successfully' AS message; |