feat(bisaya-course): enhance lesson structure and didactics integration

- Added an auto-incrementing primary key to the UserHouse model for improved database management.
- Integrated new didactics fragments from the Bisaya course plan, including relationship anchor didactics and lessons for enhanced curriculum depth.
- Updated lesson retrieval logic to utilize planned lesson titles, improving the accuracy of didactics resolution.
- Refactored course content generation scripts to incorporate new didactics, ensuring a comprehensive learning experience for users.
This commit is contained in:
Torsten Schulz (local)
2026-04-17 11:08:12 +02:00
parent 3a361caa1c
commit 4f548565ec
7 changed files with 874 additions and 105 deletions

View File

@@ -4,6 +4,11 @@ import { sequelize } from '../../../utils/sequelize.js';
class UserHouse extends Model { }
UserHouse.init({
id: {
type: DataTypes.INTEGER,
primaryKey: true,
autoIncrement: true
},
roofCondition: {
type: DataTypes.INTEGER,
allowNull: false,