addresses several crucial improvements and refinements:
Database Enhancements:
Introduced composite unique indexes on the 'links' and 'pages' tables to ensure the uniqueness of domain and shortcode combinations, thereby eliminating duplicate entries.
Modified 'links' and 'pages' tables to utilize hash values for uniqueness based on user IDs and URL/template data, replacing the prior unique indexes on short codes and domain names.
Altered the userId field from integer to text to provide greater flexibility.
Revised indexes and unique constraints to accommodate the new hash-based uniqueness.
Worker Script Fixes:
Amended references in the Cloudflare Pages worker type generation script.
Adjusted the ESLint configuration to exclude additional files during the build process.
Changes Made:
Refined the database schema to enhance data integrity.
Resolved issues in the worker script and ESLint configuration.
addresses several crucial improvements and refinements:
Database Enhancements:
userId
field from integer to text to provide greater flexibility.Worker Script Fixes:
Changes Made: