INSERT INTO `topics` (`id`, `course_id`, `title`, `description`, `content_type`, `content_url`, `order`, `duration_minutes`, `is_previewable`, `status`, `created_at`, `updated_at`, `order_sequence`, `is_active`, `parent_topic_id`, `level`, `full_path`) VALUES
(12133, 10, 'Transfer of Heat', 'Conduction, convection, radiation, Newton\'s law of cooling', 'video', NULL, 4, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 4, 1, 10301, 3, 'IOE Entrance Preparation/Physics/Heat and Thermodynamics/Transfer of Heat'),
(12134, 10, 'Kinetic Theory of Gas', 'Molecular motion, gas laws, degrees of freedom, mean free path', 'video', NULL, 5, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 5, 1, 10301, 3, 'IOE Entrance Preparation/Physics/Heat and Thermodynamics/Kinetic Theory of Gas'),
(12135, 10, 'Expansion of Gas', 'Gas laws, Boyle\'s law, Charles law, ideal gas equation', 'video', NULL, 6, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 6, 1, 10301, 3, 'IOE Entrance Preparation/Physics/Heat and Thermodynamics/Expansion of Gas'),
(12136, 10, 'Thermodynamics', 'Laws of thermodynamics, heat engines, Carnot cycle, entropy', 'video', NULL, 7, 12, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 7, 1, 10301, 3, 'IOE Entrance Preparation/Physics/Heat and Thermodynamics/Thermodynamics'),
(12137, 10, 'Hygrometry', 'Humidity, relative humidity, dew point, psychrometer', 'video', NULL, 8, 6, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 8, 1, 10301, 3, 'IOE Entrance Preparation/Physics/Heat and Thermodynamics/Hygrometry'),
(12140, 10, 'Reflection of Light', 'Laws of reflection, plane mirrors, spherical mirrors, mirror formula', 'video', NULL, 1, 12, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 1, 1, 10302, 3, 'IOE Entrance Preparation/Physics/Geometric and Physical Optics/Reflection of Light'),
(12141, 10, 'Refraction at a Spherical Surface & Prism', 'Refraction laws, lens formula, prism formula, dispersion', 'video', NULL, 2, 15, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 2, 1, 10302, 3, 'IOE Entrance Preparation/Physics/Geometric and Physical Optics/Refraction at a Spherical Surface & Prism'),
(12142, 10, 'Optical Instruments and Photometry', 'Microscope, telescope, camera, photometry, illumination', 'video', NULL, 3, 12, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 3, 1, 10302, 3, 'IOE Entrance Preparation/Physics/Geometric and Physical Optics/Optical Instruments and Photometry'),
(12143, 10, 'Wave Optics', 'Interference, diffraction, polarization, Young\'s double slit', 'video', NULL, 4, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 4, 1, 10302, 3, 'IOE Entrance Preparation/Physics/Geometric and Physical Optics/Wave Optics'),
(12150, 10, 'Electrostatics', 'Electric charge, Coulomb\'s law, electric field, Gauss law', 'video', NULL, 1, 12, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 1, 1, 10304, 3, 'IOE Entrance Preparation/Physics/Electricity and Magnetism/Electrostatics'),
(12151, 10, 'Electric Field & Potential', 'Electric field intensity, electric potential, equipotential surfaces', 'video', NULL, 2, 12, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 2, 1, 10304, 3, 'IOE Entrance Preparation/Physics/Electricity and Magnetism/Electric Field & Potential'),
(12152, 10, 'Capacitor', 'Capacitance, energy stored, capacitors in series and parallel', 'video', NULL, 3, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 3, 1, 10304, 3, 'IOE Entrance Preparation/Physics/Electricity and Magnetism/Capacitor'),
(12160, 10, 'Current Electricity', 'Electric current, Ohm\'s law, resistance, Kirchhoff\'s laws', 'video', NULL, 4, 15, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 4, 1, 10304, 3, 'IOE Entrance Preparation/Physics/Electricity and Magnetism/Current Electricity'),
(12161, 10, 'Electrical Measurement', 'Ammeter, voltmeter, galvanometer, Wheatstone bridge', 'video', NULL, 5, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 5, 1, 10304, 3, 'IOE Entrance Preparation/Physics/Electricity and Magnetism/Electrical Measurement'),
(12162, 10, 'Joule\'s Law of Heating', 'Heating effect of current, electrical power and energy', 'video', NULL, 6, 6, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 6, 1, 10304, 3, 'IOE Entrance Preparation/Physics/Electricity and Magnetism/Joule\'s Law of Heating'),
(12163, 10, 'Magnetic Effect of Current', 'Magnetic field due to current, Biot-Savart law, Ampere\'s law', 'video', NULL, 7, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 7, 1, 10304, 3, 'IOE Entrance Preparation/Physics/Electricity and Magnetism/Magnetic Effect of Current'),
(12164, 10, 'Magnetism and Properties of Magnetic Materials', 'Magnetic properties, hysteresis, magnetic materials', 'video', NULL, 8, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 8, 1, 10304, 3, 'IOE Entrance Preparation/Physics/Electricity and Magnetism/Magnetism and Properties of Magnetic Materials'),
(12165, 10, 'Electromagnetic Induction', 'Faraday\'s law, Lenz law, self and mutual inductance', 'video', NULL, 9, 12, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 9, 1, 10304, 3, 'IOE Entrance Preparation/Physics/Electricity and Magnetism/Electromagnetic Induction'),
(12166, 10, 'Alternating Current (A.C)', 'AC circuits, RLC circuits, impedance, power in AC', 'video', NULL, 10, 12, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 10, 1, 10304, 3, 'IOE Entrance Preparation/Physics/Electricity and Magnetism/Alternating Current (A.C)'),
(12170, 10, 'Atomic Structure', 'Rutherford model, Bohr theory, energy levels, spectral series', 'video', NULL, 1, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 1, 1, 10305, 3, 'IOE Entrance Preparation/Physics/Modern Physics/Atomic Structure'),
(12171, 10, 'Photo-Electric Effect', 'Einstein\'s photoelectric equation, threshold frequency, photons', 'video', NULL, 2, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 2, 1, 10305, 3, 'IOE Entrance Preparation/Physics/Modern Physics/Photo-Electric Effect'),
(12172, 10, 'Gaseous Discharge', 'Conduction through gases, cathode rays, X-rays', 'video', NULL, 3, 6, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 3, 1, 10305, 3, 'IOE Entrance Preparation/Physics/Modern Physics/Gaseous Discharge'),
(12173, 10, 'Nucleus', 'Nuclear structure, binding energy, mass defect', 'video', NULL, 4, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 4, 1, 10305, 3, 'IOE Entrance Preparation/Physics/Modern Physics/Nucleus'),
(12174, 10, 'Pair Production & Semi Conductor', 'Pair production, semiconductors, p-n junction, transistors', 'video', NULL, 5, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 5, 1, 10305, 3, 'IOE Entrance Preparation/Physics/Modern Physics/Pair Production & Semi Conductor'),
(12175, 10, 'Recent Trends and Particle Physics', 'Elementary particles, fundamental forces, recent developments', 'video', NULL, 6, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 6, 1, 10305, 3, 'IOE Entrance Preparation/Physics/Modern Physics/Recent Trends and Particle Physics'),
(12200, 10, 'Sets _ Relations _Theory', 'Set theory, types of sets, set operations, relations and their properties', 'video', NULL, 1, 12, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 1, 1, 10100, 3, 'IOE Entrance Preparation/Mathematics/Set, Logic and Functions/Sets _ Relations _Theory'),
(12201, 10, 'Functions _ Graphs _Theory', 'Types of functions, composition, inverse functions, graphical representation', 'video', NULL, 2, 15, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 2, 1, 10100, 3, 'IOE Entrance Preparation/Mathematics/Set, Logic and Functions/Functions _ Graphs _Theory'),
(12202, 10, 'Logic', 'Logical statements, truth tables, logical connectives, quantifiers', 'video', NULL, 3, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 3, 1, 10100, 3, 'IOE Entrance Preparation/Mathematics/Set, Logic and Functions/Logic'),
(12210, 10, 'Complex Numbers', 'Complex number operations, modulus, argument, polar form', 'video', NULL, 1, 12, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 1, 1, 10101, 3, 'IOE Entrance Preparation/Mathematics/Algebra/Complex Numbers'),
(12211, 10, 'Matrix & Determinants', 'Matrix operations, inverse, determinants, Cramer\'s rule', 'video', NULL, 2, 15, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 2, 1, 10101, 3, 'IOE Entrance Preparation/Mathematics/Algebra/Matrix & Determinants'),
(12212, 10, 'Sequence & Series', 'Arithmetic and geometric progressions, infinite series, convergence', 'video', NULL, 3, 12, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 3, 1, 10101, 3, 'IOE Entrance Preparation/Mathematics/Algebra/Sequence & Series'),
(12213, 10, 'Polynomial Equations', 'Quadratic, cubic equations, relationship between roots and coefficients', 'video', NULL, 4, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 4, 1, 10101, 3, 'IOE Entrance Preparation/Mathematics/Algebra/Polynomial Equations'),
(12214, 10, 'Permutation & Combination', 'Fundamental principle, permutations, combinations, applications', 'video', NULL, 5, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 5, 1, 10101, 3, 'IOE Entrance Preparation/Mathematics/Algebra/Permutation & Combination'),
(12215, 10, 'Binomial Expansion', 'Binomial theorem, general term, applications', 'video', NULL, 6, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 6, 1, 10101, 3, 'IOE Entrance Preparation/Mathematics/Algebra/Binomial Expansion'),
(12216, 10, 'Exponential & Logarithmic Series', 'Exponential and logarithmic functions, series expansions', 'video', NULL, 7, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 7, 1, 10101, 3, 'IOE Entrance Preparation/Mathematics/Algebra/Exponential & Logarithmic Series'),
(12217, 10, 'System of Linear Equations', 'Solving linear equations, matrix method, elimination method', 'video', NULL, 8, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 8, 1, 10101, 3, 'IOE Entrance Preparation/Mathematics/Algebra/System of Linear Equations'),
(12220, 10, 'Limit & Continuity', 'Concept of limits, evaluation techniques, continuity of functions', 'video', NULL, 1, 15, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 1, 1, 10104, 3, 'IOE Entrance Preparation/Mathematics/Calculus/Limit & Continuity'),
(12221, 10, 'Derivatives', 'Rules of differentiation, higher order derivatives', 'video', NULL, 2, 18, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 2, 1, 10104, 3, 'IOE Entrance Preparation/Mathematics/Calculus/Derivatives'),
(12222, 10, 'Application of Derivatives', 'Tangent and normal, maxima and minima, rate of change', 'video', NULL, 3, 15, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 3, 1, 10104, 3, 'IOE Entrance Preparation/Mathematics/Calculus/Application of Derivatives'),
(12223, 10, 'Integration', 'Indefinite integration, integration techniques, standard integrals', 'video', NULL, 4, 15, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 4, 1, 10104, 3, 'IOE Entrance Preparation/Mathematics/Calculus/Integration'),
(12224, 10, 'Application of Anti-derivative', 'Definite integrals, area under curves, volume calculation', 'video', NULL, 5, 12, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 5, 1, 10104, 3, 'IOE Entrance Preparation/Mathematics/Calculus/Application of Anti-derivative'),
(12225, 10, 'Anti-derivative', 'Indefinite integrals, integration by parts, substitution', 'video', NULL, 6, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 6, 1, 10104, 3, 'IOE Entrance Preparation/Mathematics/Calculus/Anti-derivative'),
(12226, 10, 'Differential Equations', 'First order differential equations, separable variables', 'video', NULL, 7, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 7, 1, 10104, 3, 'IOE Entrance Preparation/Mathematics/Calculus/Differential Equations'),
(12230, 10, 'Vector_Theory', 'Vector concepts, operations, scalar and vector products', 'video', NULL, 1, 15, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 1, 1, 10105, 3, 'IOE Entrance Preparation/Mathematics/Vectors and Products/Vector_Theory'),
(12240, 10, 'Straight Lines', 'Equation of line, angle between lines, distance formulas', 'video', NULL, 1, 12, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 1, 1, 10103, 3, 'IOE Entrance Preparation/Mathematics/Coordinate Geometry/Straight Lines'),
(12241, 10, 'Pair of Lines', 'Pair of straight lines, angle between them, condition of perpendicularity', 'video', NULL, 2, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 2, 1, 10103, 3, 'IOE Entrance Preparation/Mathematics/Coordinate Geometry/Pair of Lines'),
(12242, 10, 'Circles', 'Equation of circle, tangent and normal, chord properties', 'video', NULL, 3, 12, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 3, 1, 10103, 3, 'IOE Entrance Preparation/Mathematics/Coordinate Geometry/Circles'),
(12243, 10, 'Conic Section: Parabola', 'Standard equation, properties, tangent and normal to parabola', 'video', NULL, 4, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 4, 1, 10103, 3, 'IOE Entrance Preparation/Mathematics/Coordinate Geometry/Conic Section: Parabola'),
(12244, 10, 'Conic Section: Ellipse & Hyperbola', 'Standard equations, properties, eccentricity, tangent and normal', 'video', NULL, 5, 12, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 5, 1, 10103, 3, 'IOE Entrance Preparation/Mathematics/Coordinate Geometry/Conic Section: Ellipse & Hyperbola'),
(12245, 10, 'Co-ordinate in Space', '3D coordinate geometry, direction ratios, distance formula', 'video', NULL, 6, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 6, 1, 10103, 3, 'IOE Entrance Preparation/Mathematics/Coordinate Geometry/Co-ordinate in Space'),
(12246, 10, 'Plane', 'Equation of plane, angle between planes, distance from point to plane', 'video', NULL, 7, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 7, 1, 10103, 3, 'IOE Entrance Preparation/Mathematics/Coordinate Geometry/Plane'),
(12250, 10, 'Basic Trigonometry', 'Trigonometric ratios, identities, trigonometric equations', 'video', NULL, 1, 15, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 1, 1, 10102, 3, 'IOE Entrance Preparation/Mathematics/Trigonometry/Basic Trigonometry'),
(12251, 10, 'Properties of Triangles', 'Sine rule, cosine rule, area of triangle, circumcircle', 'video', NULL, 2, 12, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 2, 1, 10102, 3, 'IOE Entrance Preparation/Mathematics/Trigonometry/Properties of Triangles'),
(12252, 10, 'Inverse Circular Function _Theory', 'Inverse trigonometric functions, their properties and graphs', 'video', NULL, 3, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 3, 1, 10102, 3, 'IOE Entrance Preparation/Mathematics/Trigonometry/Inverse Circular Function _Theory'),
(12253, 10, 'Trigonometric Equations', 'Solving trigonometric equations, general solutions', 'video', NULL, 4, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 4, 1, 10102, 3, 'IOE Entrance Preparation/Mathematics/Trigonometry/Trigonometric Equations'),
(12260, 10, 'Measures of Central Tendency or Measure of Location', 'Mean, median, mode, quartiles, percentiles', 'video', NULL, 1, 12, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 1, 1, 10106, 3, 'IOE Entrance Preparation/Mathematics/Statistics and Probability/Measures of Central Tendency or Measure of Location'),
(12261, 10, 'Probability', 'Basic probability, conditional probability, Bayes theorem', 'video', NULL, 2, 15, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 2, 1, 10106, 3, 'IOE Entrance Preparation/Mathematics/Statistics and Probability/Probability'),
(12300, 10, 'Language of Chemistry', 'Chemical symbols, formulas, equations, nomenclature', 'video', NULL, 1, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 1, 1, 10600, 3, 'IOE Entrance Preparation/Chemistry/Physical Chemistry/Language of Chemistry'),
(12301, 10, 'Atomic Structure', 'Atomic models, quantum numbers, electronic configuration', 'video', NULL, 2, 12, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 2, 1, 10600, 3, 'IOE Entrance Preparation/Chemistry/Physical Chemistry/Atomic Structure'),
(12302, 10, 'Chemical Arithmetic', 'Mole concept, stoichiometry, empirical and molecular formulas', 'video', NULL, 3, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 3, 1, 10600, 3, 'IOE Entrance Preparation/Chemistry/Physical Chemistry/Chemical Arithmetic'),
(12303, 10, 'Periodic Table', 'Periodic law, periodic properties, classification of elements', 'video', NULL, 4, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 4, 1, 10600, 3, 'IOE Entrance Preparation/Chemistry/Physical Chemistry/Periodic Table'),
(12304, 10, 'Chemical Bonding & Shape of Molecules', 'Ionic, covalent bonding, VSEPR theory, hybridization', 'video', NULL, 5, 12, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 5, 1, 10600, 3, 'IOE Entrance Preparation/Chemistry/Physical Chemistry/Chemical Bonding & Shape of Molecules'),
(12305, 10, 'State of Matter', 'Gas laws, kinetic theory, liquid and solid states', 'video', NULL, 6, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 6, 1, 10600, 3, 'IOE Entrance Preparation/Chemistry/Physical Chemistry/State of Matter'),
(12306, 10, 'Acids, Bases and Salts', 'Acid-base theories, pH, buffer solutions, hydrolysis', 'video', NULL, 7, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 7, 1, 10600, 3, 'IOE Entrance Preparation/Chemistry/Physical Chemistry/Acids, Bases and Salts'),
(12307, 10, 'Chemical Equilibrium', 'Equilibrium constant, Le Chatelier principle', 'video', NULL, 8, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 8, 1, 10600, 3, 'IOE Entrance Preparation/Chemistry/Physical Chemistry/Chemical Equilibrium'),
(12308, 10, 'Chemical Kinetics', 'Rate of reaction, factors affecting rate, rate laws', 'video', NULL, 9, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 9, 1, 10600, 3, 'IOE Entrance Preparation/Chemistry/Physical Chemistry/Chemical Kinetics'),
(12309, 10, 'Chemical Thermodynamics', 'Enthalpy, entropy, Gibbs free energy, spontaneity', 'video', NULL, 10, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 10, 1, 10600, 3, 'IOE Entrance Preparation/Chemistry/Physical Chemistry/Chemical Thermodynamics'),
(12310, 10, 'Electrochemistry', 'Galvanic cells, electrolysis, Faraday\'s laws', 'video', NULL, 11, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 11, 1, 10600, 3, 'IOE Entrance Preparation/Chemistry/Physical Chemistry/Electrochemistry'),
(12311, 10, 'Ionic Equilibrium', 'Ionic product of water, pH calculations, buffer solutions', 'video', NULL, 12, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 12, 1, 10600, 3, 'IOE Entrance Preparation/Chemistry/Physical Chemistry/Ionic Equilibrium'),
(12312, 10, 'Oxidation & Reduction', 'Redox reactions, oxidation numbers, balancing equations', 'video', NULL, 13, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 13, 1, 10600, 3, 'IOE Entrance Preparation/Chemistry/Physical Chemistry/Oxidation & Reduction'),
(12313, 10, 'Volumetric Analysis', 'Titration techniques, acid-base, redox titrations', 'video', NULL, 14, 6, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 14, 1, 10600, 3, 'IOE Entrance Preparation/Chemistry/Physical Chemistry/Volumetric Analysis'),
(12320, 10, 'Hydrogen , Oxygen & Water', 'Preparation, properties, uses of hydrogen, oxygen and water', 'video', NULL, 1, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 1, 1, 10601, 3, 'IOE Entrance Preparation/Chemistry/Inorganic Chemistry/Hydrogen , Oxygen & Water'),
(12321, 10, 'Alkali Metals', 'Group 1 elements, properties, compounds, flame test', 'video', NULL, 2, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 2, 1, 10601, 3, 'IOE Entrance Preparation/Chemistry/Inorganic Chemistry/Alkali Metals'),
(12322, 10, 'Alkaline Earth Metals', 'Group 2 elements, properties, compounds, uses', 'video', NULL, 3, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 3, 1, 10601, 3, 'IOE Entrance Preparation/Chemistry/Inorganic Chemistry/Alkaline Earth Metals'),
(12323, 10, 'Halogen and Halogen Acids', 'Group 17 elements, hydrogen halides, preparation and properties', 'video', NULL, 4, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 4, 1, 10601, 3, 'IOE Entrance Preparation/Chemistry/Inorganic Chemistry/Halogen and Halogen Acids'),
(12324, 10, 'Nitrogen and Its Compounds', 'Nitrogen preparation, ammonia, nitric acid, fertilizers', 'video', NULL, 5, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 5, 1, 10601, 3, 'IOE Entrance Preparation/Chemistry/Inorganic Chemistry/Nitrogen and Its Compounds'),
(12325, 10, 'Sulphur and Its Compounds', 'Sulphur allotropes, sulphuric acid, sulphur compounds', 'video', NULL, 6, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 6, 1, 10601, 3, 'IOE Entrance Preparation/Chemistry/Inorganic Chemistry/Sulphur and Its Compounds'),
(12326, 10, 'Carbon and Its Compounds', 'Allotropes of carbon, carbon monoxide, carbon dioxide', 'video', NULL, 7, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 7, 1, 10601, 3, 'IOE Entrance Preparation/Chemistry/Inorganic Chemistry/Carbon and Its Compounds'),
(12327, 10, 'Metals And Metallurgy', 'Occurrence, extraction, refining of metals', 'video', NULL, 8, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 8, 1, 10601, 3, 'IOE Entrance Preparation/Chemistry/Inorganic Chemistry/Metals And Metallurgy'),
(12328, 10, 'Metallurgical Processes', 'Concentration, reduction, refining processes', 'video', NULL, 9, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 9, 1, 10601, 3, 'IOE Entrance Preparation/Chemistry/Inorganic Chemistry/Metallurgical Processes'),
(12329, 10, 'Iron & Its Compounds', 'Iron extraction, steel making, iron compounds', 'video', NULL, 10, 6, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 10, 1, 10601, 3, 'IOE Entrance Preparation/Chemistry/Inorganic Chemistry/Iron & Its Compounds'),
(12330, 10, 'Coinage Metals _Cu, Ag & Au', 'Properties and compounds of copper, silver, gold', 'video', NULL, 11, 6, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 11, 1, 10601, 3, 'IOE Entrance Preparation/Chemistry/Inorganic Chemistry/Coinage Metals _Cu, Ag & Au'),
(12331, 10, 'Zinc & Its Compounds', 'Zinc extraction, properties, compounds and uses', 'video', NULL, 12, 5, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 12, 1, 10601, 3, 'IOE Entrance Preparation/Chemistry/Inorganic Chemistry/Zinc & Its Compounds'),
(12332, 10, 'Silver & Its Compounds', 'Silver compounds, photography, uses', 'video', NULL, 13, 5, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 13, 1, 10601, 3, 'IOE Entrance Preparation/Chemistry/Inorganic Chemistry/Silver & Its Compounds'),
(12333, 10, 'Transition Metal', 'General properties, oxidation states, colored compounds', 'video', NULL, 14, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 14, 1, 10601, 3, 'IOE Entrance Preparation/Chemistry/Inorganic Chemistry/Transition Metal'),
(12340, 10, 'Classification and Nomenclature of Organic Compounds', 'IUPAC nomenclature, functional groups, classification', 'video', NULL, 1, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 1, 1, 10602, 3, 'IOE Entrance Preparation/Chemistry/Organic Chemistry/Classification and Nomenclature of Organic Compounds'),
(12341, 10, 'Isomerism', 'Structural and stereoisomerism, optical isomerism', 'video', NULL, 2, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 2, 1, 10602, 3, 'IOE Entrance Preparation/Chemistry/Organic Chemistry/Isomerism'),
(12342, 10, 'Hydrocarbons (alkanes, alkenes, alkynes, arenes)', 'Preparation, properties, reactions of hydrocarbons', 'video', NULL, 3, 12, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 3, 1, 10602, 3, 'IOE Entrance Preparation/Chemistry/Organic Chemistry/Hydrocarbons (alkanes, alkenes, alkynes, arenes)'),
(12343, 10, 'Haloalkanes & Haloarene', 'Alkyl and aryl halides, preparation, reactions', 'video', NULL, 4, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 4, 1, 10602, 3, 'IOE Entrance Preparation/Chemistry/Organic Chemistry/Haloalkanes & Haloarene'),
(12344, 10, 'Alcohols', 'Classification, preparation, properties, reactions of alcohols', 'video', NULL, 5, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 5, 1, 10602, 3, 'IOE Entrance Preparation/Chemistry/Organic Chemistry/Alcohols'),
(12345, 10, 'Phenol', 'Preparation, properties, reactions of phenol', 'video', NULL, 6, 6, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 6, 1, 10602, 3, 'IOE Entrance Preparation/Chemistry/Organic Chemistry/Phenol'),
(12346, 10, 'Ethers', 'Preparation, properties, reactions of ethers', 'video', NULL, 7, 5, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 7, 1, 10602, 3, 'IOE Entrance Preparation/Chemistry/Organic Chemistry/Ethers'),
(12347, 10, 'Aldehyde and Ketone', 'Carbonyl compounds, nucleophilic addition reactions', 'video', NULL, 8, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 8, 1, 10602, 3, 'IOE Entrance Preparation/Chemistry/Organic Chemistry/Aldehyde and Ketone'),
(12348, 10, 'Carboxylic Acids', 'Preparation, properties, reactions of carboxylic acids', 'video', NULL, 9, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 9, 1, 10602, 3, 'IOE Entrance Preparation/Chemistry/Organic Chemistry/Carboxylic Acids'),
(12349, 10, 'Amines Aromatic and Aliphatic', 'Primary, secondary, tertiary amines, properties, reactions', 'video', NULL, 10, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 10, 1, 10602, 3, 'IOE Entrance Preparation/Chemistry/Organic Chemistry/Amines Aromatic and Aliphatic'),
(12350, 10, 'Nitro-Compounds', 'Preparation, properties, reduction of nitro compounds', 'video', NULL, 11, 6, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 11, 1, 10602, 3, 'IOE Entrance Preparation/Chemistry/Organic Chemistry/Nitro-Compounds'),
(12400, 10, 'Parts of Speech', 'Noun, pronoun, verb, adjective, adverb, preposition, conjunction, interjection', 'video', NULL, 1, 8, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 1, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Parts of Speech'),
(12401, 10, 'Use of Tense Forms', 'Present, past, future tenses, perfect and continuous forms', 'video', NULL, 2, 10, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 2, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Use of Tense Forms'),
(12402, 10, 'Voice', 'Active and passive voice, transformation rules', 'video', NULL, 3, 6, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 3, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Voice'),
(12403, 10, 'Narration', 'Direct and indirect speech, reporting verbs', 'video', NULL, 4, 6, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 4, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Narration'),
(12404, 10, 'The Use of Article', 'Definite and indefinite articles, rules of usage', 'video', NULL, 5, 5, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 5, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/The Use of Article'),
(12405, 10, 'Use of Prepositions', 'Prepositions of time, place, direction, manner', 'video', NULL, 6, 6, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 6, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Use of Prepositions'),
(12406, 10, 'Use of Pronouns', 'Personal, possessive, relative, demonstrative pronouns', 'video', NULL, 7, 5, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 7, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Use of Pronouns'),
(12407, 10, 'Sentence Structures', 'Simple, compound, complex sentences, transformation', 'video', NULL, 8, 6, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 8, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Sentence Structures'),
(12408, 10, 'Question Tags', 'Formation and usage of question tags', 'video', NULL, 9, 4, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 9, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Question Tags'),
(12409, 10, 'Conditional Sentences', 'Zero, first, second, third conditionals', 'video', NULL, 10, 5, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 10, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Conditional Sentences'),
(12410, 10, 'Punctuation', 'Comma, semicolon, colon, apostrophe usage', 'video', NULL, 11, 4, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 11, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Punctuation'),
(12411, 10, 'Affirmative and Negative Agreements', 'So, neither, either constructions, tag agreement', 'video', NULL, 12, 5, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 12, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Affirmative and Negative Agreements'),
(12412, 10, 'Analogies', 'Word relationships, analogy patterns, logical connections', 'video', NULL, 13, 6, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 13, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Analogies'),
(12413, 10, 'Antecedents of Pronouns', 'Pronoun reference, clarity, agreement with antecedents', 'video', NULL, 14, 5, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 14, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Antecedents of Pronouns'),
(12414, 10, 'As If As Though', 'Subjunctive mood, hypothetical situations, comparisons', 'video', NULL, 15, 4, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 15, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/As If As Though'),
(12415, 10, 'Causative and Subjunctive Verbs', 'Make, have, let, get constructions, subjunctive mood', 'video', NULL, 16, 6, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 16, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Causative and Subjunctive Verbs'),
(12416, 10, 'Embedded Questions', 'Indirect questions, question word order in statements', 'video', NULL, 17, 5, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 17, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Embedded Questions'),
(12417, 10, 'Infinitives And Gerunds', 'Verb patterns, to + infinitive, -ing forms', 'video', NULL, 18, 6, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 18, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Infinitives And Gerunds'),
(12418, 10, 'Linking Verbs', 'Be, seem, appear, become, linking verb patterns', 'video', NULL, 19, 4, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 19, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Linking Verbs'),
(12419, 10, 'Relative Pronouns', 'Who, which, that, whose, relative clause construction', 'video', NULL, 20, 5, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 20, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Relative Pronouns'),
(12420, 10, 'Synonyms And Antonyms', 'Words with similar and opposite meanings', 'video', NULL, 1, 6, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 1, 1, 10801, 3, 'IOE Entrance Preparation/English/Vocabulary and Usage/Synonyms And Antonyms'),
(12421, 10, 'One-Word Substitution', 'Single words for phrases and expressions', 'video', NULL, 2, 5, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 2, 1, 10801, 3, 'IOE Entrance Preparation/English/Vocabulary and Usage/One-Word Substitution'),
(12422, 10, 'Idiomatic Expressions', 'Common idioms and their meanings', 'video', NULL, 3, 5, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 3, 1, 10801, 3, 'IOE Entrance Preparation/English/Vocabulary and Usage/Idiomatic Expressions'),
(12423, 10, 'Word Power', 'Vocabulary building, word formation, prefixes, suffixes', 'video', NULL, 4, 6, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 4, 1, 10801, 3, 'IOE Entrance Preparation/English/Vocabulary and Usage/Word Power'),
(12424, 10, 'Words Followed by Prepositions', 'Verb + preposition, adjective + preposition patterns', 'video', NULL, 5, 5, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 5, 1, 10801, 3, 'IOE Entrance Preparation/English/Vocabulary and Usage/Words Followed by Prepositions'),
(12425, 10, 'Sequence Of Tenses', 'Tense consistency, reported speech tense changes', 'video', NULL, 21, 5, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 21, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Sequence Of Tenses'),
(12426, 10, 'Simple, Compound and Complex Sentences', 'Sentence types, coordination, subordination', 'video', NULL, 22, 6, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 22, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Simple, Compound and Complex Sentences'),
(12427, 10, 'Problem Verbs', 'Confusing verbs, lay/lie, rise/raise, sit/set', 'video', NULL, 23, 5, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 23, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Problem Verbs'),
(12428, 10, 'Verbal Phrases', 'Participial, gerund, infinitive phrases', 'video', NULL, 24, 5, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 24, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Verbal Phrases'),
(12429, 10, 'The Expression Used To Need In Need Of', 'Need constructions, used to, be used to patterns', 'video', NULL, 25, 4, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 25, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/The Expression Used To Need In Need Of'),
(12430, 10, 'Comprehension', 'Reading comprehension, passage analysis, inference', 'video', NULL, 1, 12, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 1, 1, 10802, 3, 'IOE Entrance Preparation/English/Reading Comprehension/Comprehension'),
(12431, 10, 'Phonemes', 'English sound system, consonants, vowels, phonetic symbols', 'video', NULL, 26, 6, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 26, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Phonemes'),
(12432, 10, 'Sounds', 'Pronunciation, phonetic transcription, sound patterns', 'video', NULL, 27, 5, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 27, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Sounds'),
(12433, 10, 'Stress', 'Word stress, sentence stress, rhythm patterns', 'video', NULL, 28, 5, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 28, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Stress'),
(12434, 10, 'Intonation', 'Rising and falling intonation, question patterns', 'video', NULL, 29, 5, 1, 'active', '2025-09-12 10:21:27', '2025-09-12 10:21:27', 29, 1, 10800, 3, 'IOE Entrance Preparation/English/Grammar and Language Skills/Intonation'),
(13001, 11, 'Demography', 'Demography study and analysis', 'video', NULL, 1, 35, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 1, 1, 11006, 2, 'Grade 10 (SEE) Preparation/Environment, Population and Health/Demography'),
(13002, 11, 'Quality of Life', 'Quality of Life study and analysis', 'video', NULL, 2, 35, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 2, 1, 11006, 2, 'Grade 10 (SEE) Preparation/Environment, Population and Health/Quality of Life'),
(13003, 11, 'Environmental Status of Nepal', 'Environmental Status of Nepal study and analysis', 'video', NULL, 3, 35, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 3, 1, 11006, 2, 'Grade 10 (SEE) Preparation/Environment, Population and Health/Environmental Status of Nepal'),
(13004, 11, 'Biodiversity', 'Biodiversity study and analysis', 'video', NULL, 4, 35, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 4, 1, 11006, 2, 'Grade 10 (SEE) Preparation/Environment, Population and Health/Biodiversity'),
(13005, 11, 'Population, Environment, and Development', 'Population, Environment, and Development study and analysis', 'video', NULL, 5, 35, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 5, 1, 11006, 2, 'Grade 10 (SEE) Preparation/Environment, Population and Health/Population, Environment, and Development'),
(13006, 11, 'Disease, Nutrition, Tobacco, Alcohol and Drugs', 'Disease, Nutrition, Tobacco, Alcohol and Drugs study and analysis', 'video', NULL, 6, 35, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 6, 1, 11006, 2, 'Grade 10 (SEE) Preparation/Environment, Population and Health/Disease, Nutrition, Tobacco, Alcohol and Drugs'),
(13007, 11, 'Community Health', 'Community Health study and analysis', 'video', NULL, 7, 35, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 7, 1, 11006, 2, 'Grade 10 (SEE) Preparation/Environment, Population and Health/Community Health'),
(13101, 11, 'Algebra', 'Algebra advanced concepts', 'video', NULL, 1, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 1, 1, 11007, 2, 'Grade 10 (SEE) Preparation/Optional Mathematics/Algebra'),
(13102, 11, 'Functions ', 'Functions', 'video', NULL, 1, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-18 06:20:21', 1, 1, 13101, 3, 'Grade 10 (SEE) Preparation/Optional Mathematics/Algebra/Functions '),
(13103, 11, 'Sequence and Series', 'Sequence and Series advanced concepts', 'video', NULL, 2, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 2, 1, 13101, 3, 'Grade 10 (SEE) Preparation/Optional Mathematics/Algebra/Sequence and Series'),
(13104, 11, 'Matrix', 'Matrix advanced concepts', 'video', NULL, 2, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 2, 1, 11007, 2, 'Grade 10 (SEE) Preparation/Optional Mathematics/Matrix'),
(13105, 11, 'Trigonometry', 'Trigonometry advanced concepts', 'video', NULL, 3, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 3, 1, 11007, 2, 'Grade 10 (SEE) Preparation/Optional Mathematics/Trigonometry'),
(13106, 11, 'Trigonometric Ratios of Compound Angles', 'Trigonometric Ratios of Compound Angles advanced concepts', 'video', NULL, 1, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 1, 1, 13105, 3, 'Grade 10 (SEE) Preparation/Optional Mathematics/Trigonometry/Trigonometric Ratios of Compound Angles'),
(13107, 11, 'Trigonometric Ratios of Multiple Angles', 'Trigonometric Ratios of Multiple Angles advanced concepts', 'video', NULL, 2, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 2, 1, 13105, 3, 'Grade 10 (SEE) Preparation/Optional Mathematics/Trigonometry/Trigonometric Ratios of Multiple Angles'),
(13108, 11, 'Trigonometric Ratios of Sub Multiple Angles', 'Trigonometric Ratios of Sub Multiple Angles advanced concepts', 'video', NULL, 3, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 3, 1, 13105, 3, 'Grade 10 (SEE) Preparation/Optional Mathematics/Trigonometry/Trigonometric Ratios of Sub Multiple Angles'),
(13109, 11, 'Transformation of Trigonometric Formulae', 'Transformation of Trigonometric Formulae advanced concepts', 'video', NULL, 4, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 4, 1, 13105, 3, 'Grade 10 (SEE) Preparation/Optional Mathematics/Trigonometry/Transformation of Trigonometric Formulae'),
(13110, 11, 'Conditional Trigonometric Identities', 'Conditional Trigonometric Identities advanced concepts', 'video', NULL, 5, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 5, 1, 13105, 3, 'Grade 10 (SEE) Preparation/Optional Mathematics/Trigonometry/Conditional Trigonometric Identities'),
(13111, 11, 'Solutions of Trigonometric Equations', 'Solutions of Trigonometric Equations advanced concepts', 'video', NULL, 6, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 6, 1, 13105, 3, 'Grade 10 (SEE) Preparation/Optional Mathematics/Trigonometry/Solutions of Trigonometric Equations'),
(13112, 11, 'Height and Distance', 'Height and Distance advanced concepts', 'video', NULL, 7, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 7, 1, 13105, 3, 'Grade 10 (SEE) Preparation/Optional Mathematics/Trigonometry/Height and Distance'),
(13113, 11, 'Vector', 'Vector advanced concepts', 'video', NULL, 4, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 4, 1, 11007, 2, 'Grade 10 (SEE) Preparation/Optional Mathematics/Vector'),
(13114, 11, 'Co-ordinate Geometry', 'Co-ordinate Geometry advanced concepts', 'video', NULL, 5, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 5, 1, 11007, 2, 'Grade 10 (SEE) Preparation/Optional Mathematics/Co-ordinate Geometry'),
(13115, 11, 'Angles between two lines', 'Angles between two lines advanced concepts', 'video', NULL, 1, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 1, 1, 13114, 3, 'Grade 10 (SEE) Preparation/Optional Mathematics/Co-ordinate Geometry/Angles between two lines'),
(13116, 11, 'Pairs of straight lines', 'Pairs of straight lines advanced concepts', 'video', NULL, 2, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 2, 1, 13114, 3, 'Grade 10 (SEE) Preparation/Optional Mathematics/Co-ordinate Geometry/Pairs of straight lines'),
(13117, 11, 'Circle', 'Circle advanced concepts', 'video', NULL, 3, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 3, 1, 13114, 3, 'Grade 10 (SEE) Preparation/Optional Mathematics/Co-ordinate Geometry/Circle'),
(13118, 11, 'Statistics', 'Statistics advanced concepts', 'video', NULL, 6, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 6, 1, 11007, 2, 'Grade 10 (SEE) Preparation/Optional Mathematics/Statistics'),
(13119, 11, 'Transformation', 'Transformation advanced concepts', 'video', NULL, 7, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 7, 1, 11007, 2, 'Grade 10 (SEE) Preparation/Optional Mathematics/Transformation'),
(13120, 11, 'Combination of Transformations', 'Combination of Transformations advanced concepts', 'video', NULL, 1, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 1, 1, 13119, 3, 'Grade 10 (SEE) Preparation/Optional Mathematics/Transformation/Combination of Transformations'),
(13121, 11, 'Transformation using Matrix', 'Transformation using Matrix advanced concepts', 'video', NULL, 2, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 2, 1, 13119, 3, 'Grade 10 (SEE) Preparation/Optional Mathematics/Transformation/Transformation using Matrix'),
(13201, 11, 'Computer Network and Communication', 'Telecommunication, networking devices, and communication media (2082 Curriculum)', 'video', NULL, 1, 20, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 1, 1, 11008, 2, 'Grade 10 (SEE) Preparation/Computer Science/Computer Network and Communication'),
(13202, 11, 'Database Management System', 'MySQL operations and SQL commands (2082 Curriculum)', 'video', NULL, 2, 26, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 2, 1, 11008, 2, 'Grade 10 (SEE) Preparation/Computer Science/Database Management System'),
(13203, 11, 'Multimedia', 'Graphics, audio, video, and animation concepts (2082 Curriculum)', 'video', NULL, 3, 22, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 3, 1, 11008, 2, 'Grade 10 (SEE) Preparation/Computer Science/Multimedia'),
(13204, 11, 'Programming in Python', 'Python programming with libraries (Pandas, Matplotlib, Turtle) - 2082 Curriculum', 'video', NULL, 4, 34, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 4, 1, 11008, 2, 'Grade 10 (SEE) Preparation/Computer Science/Programming in Python'),
(13205, 11, 'AI and Contemporary Technologies', 'Artificial Intelligence, Machine Learning, IoT, and Cloud Computing (2082 Curriculum)', 'video', NULL, 5, 26, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 5, 1, 11008, 2, 'Grade 10 (SEE) Preparation/Computer Science/AI and Contemporary Technologies'),
(13206, 11, 'Cyber Law and Computer Ethics', 'Legal and ethical issues in computing (Legacy Topic)', 'video', NULL, 6, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 6, 1, 11008, 2, 'Grade 10 (SEE) Preparation/Computer Science/Cyber Law and Computer Ethics'),
(13207, 11, 'Networking and Telecommunication', 'Network types, protocols, and communication technologies (Legacy Topic)', 'video', NULL, 7, 40, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 7, 1, 11008, 2, 'Grade 10 (SEE) Preparation/Computer Science/Networking and Telecommunication'),
(13208, 11, 'Internet and its Services', 'Internet architecture, services, and applications (Legacy Topic)', 'video', NULL, 8, 40, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 8, 1, 11008, 2, 'Grade 10 (SEE) Preparation/Computer Science/Internet and its Services'),
(13209, 11, 'Computer Security', 'Security threats and protection measures (Legacy Topic)', 'video', NULL, 9, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 9, 1, 11008, 2, 'Grade 10 (SEE) Preparation/Computer Science/Computer Security'),
(13210, 11, 'Computer Virus', 'Types of malware and antivirus protection (Legacy Topic)', 'video', NULL, 10, 15, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 10, 1, 11008, 2, 'Grade 10 (SEE) Preparation/Computer Science/Computer Virus'),
(13211, 11, 'Multimedia and its Applications', 'Multimedia elements and development tools (Legacy Topic)', 'video', NULL, 11, 45, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 11, 1, 11008, 2, 'Grade 10 (SEE) Preparation/Computer Science/Multimedia and its Applications'),
(13212, 11, 'Computer Number System', 'Binary, octal, decimal, and hexadecimal systems (Legacy Topic)', 'video', NULL, 12, 15, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 12, 1, 11008, 2, 'Grade 10 (SEE) Preparation/Computer Science/Computer Number System'),
(13213, 11, 'Database Management System – MS Access', 'Database concepts and MS Access applications (Legacy Topic)', 'video', NULL, 13, 45, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 13, 1, 11008, 2, 'Grade 10 (SEE) Preparation/Computer Science/Database Management System – MS Access'),
(13214, 11, 'Modular Programming in QBASIC', 'Subroutines and functions in QBASIC (Legacy Topic)', 'video', NULL, 14, 35, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 14, 1, 11008, 2, 'Grade 10 (SEE) Preparation/Computer Science/Modular Programming in QBASIC'),
(13215, 11, 'File Handling in QBASIC', 'File operations and data management in QBASIC (Legacy Topic)', 'video', NULL, 15, 35, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 15, 1, 11008, 2, 'Grade 10 (SEE) Preparation/Computer Science/File Handling in QBASIC'),
(13216, 11, 'Structured Programming – C Language', 'Introduction to C programming language (Legacy Topic)', 'video', NULL, 16, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 16, 1, 11008, 2, 'Grade 10 (SEE) Preparation/Computer Science/Structured Programming – C Language'),
(13301, 11, 'Office Procedure', 'Office Procedure principles and practices', 'video', NULL, 1, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 1, 1, 11009, 2, 'Grade 10 (SEE) Preparation/Accountancy/Office Procedure'),
(13302, 11, 'Filing and Indexing', 'Filing and Indexing principles and practices', 'video', NULL, 2, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 2, 1, 11009, 2, 'Grade 10 (SEE) Preparation/Accountancy/Filing and Indexing'),
(13303, 11, 'Trade', 'Trade principles and practices', 'video', NULL, 3, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 3, 1, 11009, 2, 'Grade 10 (SEE) Preparation/Accountancy/Trade'),
(13304, 11, 'Financial Institutions', 'Financial Institutions principles and practices', 'video', NULL, 4, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 4, 1, 11009, 2, 'Grade 10 (SEE) Preparation/Accountancy/Financial Institutions'),
(13305, 11, 'Trial Balance', 'Trial Balance principles and practices', 'video', NULL, 5, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 5, 1, 11009, 2, 'Grade 10 (SEE) Preparation/Accountancy/Trial Balance'),
(13306, 11, 'Final Accounts', 'Final Accounts principles and practices', 'video', NULL, 6, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 6, 1, 11009, 2, 'Grade 10 (SEE) Preparation/Accountancy/Final Accounts'),
(13307, 11, 'Government Accounting', 'Government Accounting principles and practices', 'video', NULL, 7, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 7, 1, 11009, 2, 'Grade 10 (SEE) Preparation/Accountancy/Government Accounting'),
(13308, 11, 'Journal Voucher', 'Journal Voucher principles and practices', 'video', NULL, 8, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 8, 1, 11009, 2, 'Grade 10 (SEE) Preparation/Accountancy/Journal Voucher'),
(13309, 11, 'Budget Sheet', 'Budget Sheet principles and practices', 'video', NULL, 9, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 9, 1, 11009, 2, 'Grade 10 (SEE) Preparation/Accountancy/Budget Sheet'),
(13310, 11, 'Monthly Statement', 'Monthly Statement principles and practices', 'video', NULL, 10, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 10, 1, 11009, 2, 'Grade 10 (SEE) Preparation/Accountancy/Monthly Statement'),
(13311, 11, 'Bank Cash Book', 'Bank Cash Book principles and practices', 'video', NULL, 11, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 11, 1, 11009, 2, 'Grade 10 (SEE) Preparation/Accountancy/Bank Cash Book');
INSERT INTO `topics` (`id`, `course_id`, `title`, `description`, `content_type`, `content_url`, `order`, `duration_minutes`, `is_previewable`, `status`, `created_at`, `updated_at`, `order_sequence`, `is_active`, `parent_topic_id`, `level`, `full_path`) VALUES
(13312, 11, 'Petty Cash Book', 'Petty Cash Book principles and practices', 'video', NULL, 12, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 12, 1, 11009, 2, 'Grade 10 (SEE) Preparation/Accountancy/Petty Cash Book'),
(13401, 11, 'Cost and Income Curves', 'Analysis of production costs and revenue curves', 'video', NULL, 1, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 1, 1, 11010, 2, 'Grade 10 (SEE) Preparation/Economics/Cost and Income Curves'),
(13402, 11, 'Product Pricing', 'Principles and methods of pricing products', 'video', NULL, 2, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 2, 1, 11010, 2, 'Grade 10 (SEE) Preparation/Economics/Product Pricing'),
(13403, 11, 'Principles of Pricing of Means of Production', 'Pricing factors of production', 'video', NULL, 3, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 3, 1, 11010, 2, 'Grade 10 (SEE) Preparation/Economics/Principles of Pricing of Means of Production'),
(13404, 11, 'Currency, Banking and Non-Banking Financial Institutions', 'Money, banking system and financial institutions', 'video', NULL, 4, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 4, 1, 11010, 2, 'Grade 10 (SEE) Preparation/Economics/Currency, Banking and Non-Banking Financial Institutions'),
(13405, 11, 'Public Finance', 'Government revenue, expenditure and fiscal policy', 'video', NULL, 5, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 5, 1, 11010, 2, 'Grade 10 (SEE) Preparation/Economics/Public Finance'),
(13406, 11, 'Development Economics', 'Economic development theories and practices', 'video', NULL, 6, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 6, 1, 11010, 2, 'Grade 10 (SEE) Preparation/Economics/Development Economics'),
(13407, 11, 'International Trade', 'Global trade, balance of payments and trade policies', 'video', NULL, 7, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 7, 1, 11010, 2, 'Grade 10 (SEE) Preparation/Economics/International Trade'),
(13408, 11, 'Economic Planning in Nepal', 'Economic planning and development strategies in Nepal', 'video', NULL, 8, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 8, 1, 11010, 2, 'Grade 10 (SEE) Preparation/Economics/Economic Planning in Nepal'),
(13409, 11, 'Statistics in Economics', 'Statistical methods and applications in economics', 'video', NULL, 9, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 9, 1, 11010, 2, 'Grade 10 (SEE) Preparation/Economics/Statistics in Economics'),
(13410, 11, 'Statistical Tools', 'Tools and techniques for economic data analysis', 'video', NULL, 10, 30, 1, 'active', '2025-09-12 18:29:08', '2025-09-12 18:29:08', 10, 1, 11010, 2, 'Grade 10 (SEE) Preparation/Economics/Statistical Tools'),
(14239, 11, 'Polynomials', 'Polynomials advanced concepts', 'video', NULL, 1, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 1, 1, 13101, 3, 'Grade 10 (SEE) Preparation/Optional Mathematics/Algebra/ Polynomials'),
(14240, 11, 'Vector Geometry', 'Vector Geometry advanced concepts', 'video', NULL, 4, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 4, 1, 13113, 2, 'Grade 10 (SEE) Preparation/Optional Mathematics/Vector Geometry'),
(14241, 11, 'Scalar Product', 'Scalar Product advanced concepts', 'video', NULL, 4, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-18 14:55:51', 4, 1, 13113, 2, 'Grade 10 (SEE) Preparation/Optional Mathematics/Scalar Product'),
(14242, 11, 'Quartile Deviation', 'Quartile Deviation advanced concepts', 'video', NULL, 4, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 4, 1, 13118, 2, 'Grade 10 (SEE) Preparation/Optional Mathematics/Quartile Deviation'),
(14243, 11, 'Mean Deviation', 'Mean Deviation advanced concepts', 'video', NULL, 4, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 4, 1, 13118, 2, 'Grade 10 (SEE) Preparation/Optional Mathematics/Mean Deviation'),
(14244, 11, 'Standard Deviation and Coefficient of Variation', 'Standard Deviation and Coefficient of Variation advanced concepts', 'video', NULL, 4, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 4, 1, 13118, 2, 'Grade 10 (SEE) Preparation/Optional Mathematics/Standard Deviation and Coefficient of Variation'),
(14245, 11, 'Inversion Transformation and Inversion Circle', 'Inversion Transformation and Inversion Circle advanced concepts', 'video', NULL, 4, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 4, 1, 13119, 2, 'Grade 10 (SEE) Preparation/Optional Mathematics/Inversion Transformation and Inversion Circle'),
(14246, 11, 'Conic Section', 'Conic Section advanced concepts', 'video', NULL, 4, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-17 02:10:34', 4, 1, 13114, 2, 'Grade 10 (SEE) Preparation/Optional Mathematics/ Conic Section'),
(14247, 11, 'Limit and Continuity\r\n', 'Limit and Continuity advanced concepts', 'video', NULL, 4, 25, 1, 'active', '2025-09-12 18:29:08', '2025-09-18 14:49:04', 4, 1, 11007, 1, 'Grade 10 (SEE) Preparation/Optional Mathematics/ Limit and Continuity');

--
-- Triggers `topics`
--
DELIMITER $$
CREATE TRIGGER `update_duration_hours_after_topic_delete` AFTER DELETE ON `topics` FOR EACH ROW BEGIN
    DECLARE new_duration_hours INT;

    
    SELECT SUM(duration_minutes) / 60
    INTO new_duration_hours
    FROM topics
    WHERE course_id = OLD.course_id;

    
    UPDATE courses
    SET duration_hours = new_duration_hours
    WHERE id = OLD.course_id;
END
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `update_duration_hours_after_topic_insert` AFTER INSERT ON `topics` FOR EACH ROW BEGIN
    DECLARE new_duration_hours INT;

    
    SELECT SUM(duration_minutes) / 60
    INTO new_duration_hours
    FROM topics
    WHERE course_id = NEW.course_id;

    
    UPDATE courses
    SET duration_hours = new_duration_hours
    WHERE id = NEW.course_id;
END
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `update_duration_hours_after_topic_update` AFTER UPDATE ON `topics` FOR EACH ROW BEGIN
    DECLARE new_duration_hours INT;

    
    SELECT SUM(duration_minutes) / 60
    INTO new_duration_hours
    FROM topics
    WHERE course_id = NEW.course_id;

    
    UPDATE courses
    SET duration_hours = new_duration_hours
    WHERE id = NEW.course_id;
END
$$
DELIMITER ;

-- --------------------------------------------------------

--
-- Table structure for table `topic_analytics`
--

CREATE TABLE `topic_analytics` (
  `id` int(11) NOT NULL,
  `user_id` varchar(50) NOT NULL,
  `topic_id` int(11) NOT NULL,
  `questions_attempted` int(11) NOT NULL DEFAULT 0,
  `questions_correct` int(11) NOT NULL DEFAULT 0,
  `avg_time_per_question` decimal(8,2) NOT NULL DEFAULT 0.00,
  `last_attempted` datetime DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Enhanced topic-wise performance analytics for users';

-- --------------------------------------------------------

--
-- Table structure for table `upcoming_events`
--

CREATE TABLE `upcoming_events` (
  `id` int(11) NOT NULL,
  `title` varchar(255) NOT NULL,
  `description` text NOT NULL,
  `date` date NOT NULL,
  `image_url` varchar(500) NOT NULL,
  `icon` varchar(100) NOT NULL,
  `is_upcoming_event` tinyint(1) NOT NULL DEFAULT 1,
  `upcoming_event_date` datetime NOT NULL DEFAULT current_timestamp(),
  `course_id` int(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `upcoming_events`
--

INSERT INTO `upcoming_events` (`id`, `title`, `description`, `date`, `image_url`, `icon`, `is_upcoming_event`, `upcoming_event_date`, `course_id`) VALUES
(1, 'AI Workshop', 'An interactive workshop on AI for business advantages.', '2024-12-05', 'https://neurosys.com/wp-content/uploads/2024/03/AI-workshop-for-business-advantages-social-media.png', 'event', 1, '2024-12-05 10:00:00', 1),
(2, 'Design Thinking Seminar', 'A seminar on creative and strategic problem-solving through design thinking.', '2024-12-06', 'https://dsce.ac.in/wp-content/uploads/2022/11/312309189_483874437095310_4424609002382913307_n.jpg', 'brush', 1, '2024-12-06 10:00:00', 1),
(3, 'Flutter Bootcamp', 'Join us for a hands-on bootcamp to learn Flutter development.', '2024-12-07', 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSQcpv-bIT-vP4km6WQGwYsbMhY0U9SHyIpiw&s', 'code', 1, '2024-12-07 10:00:00', 1);

-- --------------------------------------------------------

--
-- Table structure for table `user`
--

CREATE TABLE `user` (
  `id` int(11) NOT NULL,
  `username` varchar(100) NOT NULL,
  `password` varchar(1000) NOT NULL DEFAULT 'ashlyaacademy',
  `password_hash` varchar(255) DEFAULT NULL,
  `email` varchar(100) NOT NULL,
  `user_type` enum('student','instructor','institute_admin','super_admin') DEFAULT 'student',
  `institute_id` int(11) DEFAULT NULL COMMENT 'Primary institute association',
  `is_verified` tinyint(1) DEFAULT 0 COMMENT 'Account verification status',
  `verification_token` varchar(100) DEFAULT NULL COMMENT 'Email verification token',
  `last_active_at` timestamp NULL DEFAULT NULL COMMENT 'Last activity timestamp',
  `contactno` varchar(1000) NOT NULL,
  `profile_img_url` varchar(1000) NOT NULL DEFAULT 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=',
  `fullname` varchar(100) NOT NULL,
  `doc` varchar(100) NOT NULL,
  `last_login` timestamp NULL DEFAULT NULL,
  `profile_completed` int(100) NOT NULL DEFAULT 0,
  `web_login_device` varchar(1000) NOT NULL DEFAULT '',
  `logged_in` int(100) NOT NULL DEFAULT 0,
  `created_at` datetime NOT NULL DEFAULT current_timestamp(),
  `updated_at` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `login_type` varchar(20) DEFAULT 'email',
  `google_id` varchar(255) DEFAULT NULL,
  `preferred_ai_model` varchar(100) DEFAULT 'llama-3.3-70b' COMMENT 'User''s default AI model for all features',
  `model_selection_synced_at` timestamp NULL DEFAULT NULL COMMENT 'Last time model preference was synced'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user`
--

INSERT INTO `user` (`id`, `username`, `password`, `password_hash`, `email`, `user_type`, `institute_id`, `is_verified`, `verification_token`, `last_active_at`, `contactno`, `profile_img_url`, `fullname`, `doc`, `last_login`, `profile_completed`, `web_login_device`, `logged_in`, `created_at`, `updated_at`, `login_type`, `google_id`, `preferred_ai_model`, `model_selection_synced_at`) VALUES
(1, 'abtech1949', '1234', NULL, 'r@gmail.com', 'institute_admin', 1, 0, NULL, NULL, '1234567890', 'https://clc.ashlya.com/study/api/profile_images/IMG-20241013-WA0000.jpg', 'AB Tech', '2024-10-28 05:48:45', NULL, 0, 'rwtn7mqc53sacf9qzj1o', 1, '2025-05-22 08:12:26', '2025-09-01 10:41:55', 'email', NULL, 'llama-3.3-70b', NULL),
(2, 'bandanaregmi6441', 'regmibandana21@gmail.com', NULL, 'regmibandana21@gmail.com', 'instructor', 1, 0, NULL, NULL, '1234567890', 'https://lh3.googleusercontent.com/a/ACg8ocIi0d7lwdLxSlK98OP88B_93ecAC_W3fdytIcLflIlZdtoS40g=s96-c', 'Bandana Regmi', '2024-10-28 06:16:57', NULL, 0, 'flutter_device_token', 1, '2025-05-21 08:12:26', '2025-10-21 17:03:32', 'email', NULL, 'llama-3.3-70b', NULL),
(4, 'chhedalalchaudhary7876', 'chhedalalchaudhary432@gmail.com', NULL, 'chhedalalchaudhary432@gmail.com', 'instructor', 2, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Chheda Lal Chaudhary', '2024-10-28 16:36:37', NULL, 0, 'UP1A.231005.007', 1, '2025-05-19 08:12:26', '2025-09-01 10:41:55', 'email', NULL, 'llama-3.3-70b', NULL),
(5, 'asokairee1104', 'asokairee2@gmail.com', NULL, 'asokairee2@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Asok Airee', '2024-10-29 00:59:02', NULL, 0, 'SKQ1.211202.001', 1, '2025-05-18 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(6, 'dipeshsapkota1104', 'dipeshz438@gmail.com', NULL, 'dipeshz438@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Dipesh SAPKOTA', '2024-10-29 00:59:57', NULL, 0, 'UKQ1.231207.002', 1, '2025-05-17 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(7, 'sandeshpaudel7506', 'sapkotasandesh25@gmail.com', NULL, 'sapkotasandesh25@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'sandesh paudel', '2024-10-29 01:27:43', NULL, 0, 'SP1A.210812.016', 1, '2025-05-16 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(8, 'dhirendra1641', 'baduwaldhirendra68@gmail.com', NULL, 'baduwaldhirendra68@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Dhiren Dra', '2024-10-29 01:46:32', NULL, 0, 'UKQ1.230924.001', 1, '2025-05-15 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(9, 'jaymahakal1641', 'jm1701412@gmail.com', NULL, 'jm1701412@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'JAY MAHAKAL', '2024-10-29 01:56:04', NULL, 0, 'TKQ1.221114.001', 1, '2025-05-14 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(10, 'xyzana0312', 'xyz56734@gmail.com', NULL, 'xyz56734@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'xyz ana', '2024-10-29 01:59:35', NULL, 0, 'TP1A.220624.014', 1, '2025-05-13 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(11, 'pragyajoshi1641', 'sucess@206163##$$$', NULL, 'joshipragya61@gmail.com', 'student', NULL, 0, NULL, NULL, '9769932205', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Pragya Joshi', '2024-10-29 02:06:10', NULL, 0, 'TKQ1.221114.001', 1, '2025-05-12 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(12, 'pragyajoshi1641', 'sucess@pj$$$', NULL, 'joshipragya61@gmail.com', 'student', NULL, 0, NULL, NULL, '9769932205', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Pragya joshi', '2024-10-29 02:12:28', NULL, 0, 'TKQ1.221114.001', 1, '2025-05-11 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(13, 'kritamchaudhary0312', 'chykritam137@gmail.com', NULL, 'chykritam137@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Kritam Chaudhary', '2024-10-29 02:16:23', NULL, 0, 'UP1A.231005.007_NONFC', 1, '2025-05-10 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(14, 'bhaktasagarbhul1641', 'bhulbhaktasagar@gmail.com', NULL, 'bhulbhaktasagar@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Bhaktasagar Bhul', '2024-10-29 02:18:58', NULL, 0, 'UP1A.231005.007_INMOD1', 1, '2025-05-09 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(15, 'riteshchaudhary9960', '@Ritesh2062', NULL, 'rits01chy@gmail.com', 'student', NULL, 0, NULL, NULL, '9868135650', 'https://clc.ashlya.com/study/api/profile_images/1000016966.jpg', 'Ritesh Chaudhary', '2024-10-29 03:02:23', NULL, 0, 'UP1A.231005.007', 1, '2025-05-08 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(16, 'keshabchaudhary7292', 'keshabchaudhary261@gmail.com', NULL, 'keshabchaudhary261@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'keshab chaudhary', '2024-10-29 03:06:01', NULL, 0, 'TKQ1.221013.002', 1, '2025-05-07 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(17, 'anjalichaudhary9960', 'anjalichaudhary9749@gmail.com', NULL, 'anjalichaudhary9749@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Anjali Chaudhary', '2024-10-29 03:25:17', NULL, 0, 'SKQ1.211202.001', 1, '2025-05-06 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(18, 'serajansari7067', 'sanu1234rs@gmail.com', NULL, 'sanu1234rs@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Seraj Ansari', '2024-10-29 03:50:01', NULL, 0, 'QP1A.190711.020', 1, '2025-05-05 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(19, 'rojitchaudhary7067', 'rojitchaudhary9@gmail.com', NULL, 'rojitchaudhary9@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Rojit Chaudhary', '2024-10-29 04:03:34', NULL, 0, 'UKQ1.231207.002', 1, '2025-05-04 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(20, 'smritichaudhary5609', 'smritichaudhary916@gmail.com', NULL, 'smritichaudhary916@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Smriti Chaudhary', '2024-10-29 04:44:01', NULL, 0, 'UKQ1.230924.001', 1, '2025-05-03 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(21, 'rabinkathariya.050684', 'kathariyarabin5243@gmail.com', NULL, 'kathariyarabin5243@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Rabin Kathariya .05', '2024-10-29 05:08:18', NULL, 0, 'SKQ1.211019.001', 1, '2025-05-02 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(22, 'luciferstark5994', 'luciferstark1111@gmail.com', NULL, 'luciferstark1111@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Lucifer Stark', '2024-10-29 05:57:27', NULL, 0, 'UP1A.230905.011', 1, '2025-05-01 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(23, 'kamalbohara5994', 'boharakamal857@gmail.com', NULL, 'boharakamal857@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Kamal Bohara', '2024-10-29 06:05:04', NULL, 0, 'QKQ1.191014.012', 1, '2025-04-30 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(24, 'bidyagiri8887', 'bidyagiri8@gmail.com', NULL, 'bidyagiri8@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'BIDYA GIRI', '2024-10-29 07:10:52', NULL, 0, 'RKQ1.200903.002', 1, '2025-04-29 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(26, 'norvicgroup5495', 'nutritiongroup62@gmail.com', NULL, 'nutritiongroup62@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Norvic Group', '2024-10-29 08:07:45', NULL, 0, 'QP1A.190711.020', 1, '2025-04-27 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(27, 'ganeshmali3422', 'gmali8320@gmail.com', NULL, 'gmali8320@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Ganesh Mali', '2024-10-29 08:44:53', NULL, 0, 'UKQ1.230924.001', 1, '2025-04-26 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(28, 'laxmanojha3422', 'laxmanojha1718@gmail.com', NULL, 'laxmanojha1718@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Laxman Ojha', '2024-10-29 08:47:25', NULL, 0, 'SP1A.210812.003_IN', 1, '2025-04-25 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(29, 'theflex3422', 'subhamlamsal42@gmail.com', NULL, 'subhamlamsal42@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'THE FLEX', '2024-10-29 08:57:21', NULL, 0, 'UP1A.231005.007', 1, '2025-04-24 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(30, 'ankushojha0924', 'ankushojha1012@gmail.com', NULL, 'ankushojha1012@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Ankush Ojha', '2024-10-29 09:00:53', NULL, 0, 'UP1A.231005.007', 1, '2025-04-23 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(31, 'prayushrokaya4016', 'rokayaprayush8@gmail.com', NULL, 'rokayaprayush8@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Prayush Rokaya', '2024-10-29 09:02:29', NULL, 0, 'UP1A.231005.007', 1, '2025-04-22 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(32, 'greenlightmedai(mnrcomedyclub)4370', 'glight574@gmail.com', NULL, 'glight574@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Green Light Medai (MNR Comedy club)', '2024-10-29 12:37:31', NULL, 0, 'UP1A.231005.007', 1, '2025-04-21 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(33, 'sushilbhatta0346', 'bhattasushil343@gmail.com', NULL, 'bhattasushil343@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Sushil Bhatta', '2024-10-29 13:15:57', NULL, 0, 'TP1A.220624.014', 1, '2025-04-20 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(34, 'saugatchaudhary0346', 'saugatchy8800@gmail.com', NULL, 'saugatchy8800@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Saugat Chaudhary', '2024-10-29 13:23:44', NULL, 0, 'UKQ1.230917.001', 1, '2025-04-19 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(35, 'athex3156', 'thedevilakuma080@gmail.com', NULL, 'thedevilakuma080@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'AtheX', '2024-10-29 14:48:18', NULL, 0, 'RKQ1.201112.002', 1, '2025-04-18 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(36, 'pawanxettri4940', 'pawan.budha12345@gmail.com', NULL, 'pawan.budha12345@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Pawan Xettri', '2024-10-29 15:03:58', NULL, 0, 'UP1A.231005.007', 1, '2025-04-17 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(37, 'learner9454', '9806434625', NULL, 'xyz56734@gmail.com', 'student', NULL, 0, NULL, NULL, 'Learner@@##!!', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Learner', '2024-10-29 15:08:36', NULL, 0, 'TP1A.220624.014', 1, '2025-04-16 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(38, 'chhedalalchaudhary2931', 'chhedalalchaudhary310@gmail.com', NULL, 'chhedalalchaudhary310@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Chheda Lal Chaudhary', '2024-10-30 04:58:45', NULL, 0, 'RKQ1.211119.001', 1, '2025-04-15 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(39, 'bibekbhatta8994', 'bibekbhatta2065@gmail.com', NULL, 'bibekbhatta2065@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Bibek Bhatta', '2024-11-01 08:13:00', NULL, 0, 'UP1A.231005.007', 1, '2025-04-14 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(40, 'kshitizbhatt8463', 'kshitizbhatt2@gmail.com', NULL, 'kshitizbhatt2@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Kshitiz Bhatt', '2024-11-02 14:09:20', NULL, 0, 'UP1A.231005.007', 1, '2025-04-13 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(41, 'aashishojha2062', 'aashishojha714@gmail.com', NULL, 'aashishojha714@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Aashish Ojha', '2024-11-02 18:26:51', NULL, 0, 'TP1A.220624.014', 1, '2025-04-12 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(42, 'bishalpandit7366', 'panditbishal7272@gmail.com', NULL, 'panditbishal7272@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Bishal Pandit', '2024-11-04 03:56:21', NULL, 0, 'UP1A.231005.007', 1, '2025-04-11 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(43, 'aayushchaudhary7281', 'ayushchaudhary23467890@gmail.com', NULL, 'ayushchaudhary23467890@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Aayush Chaudhary', '2024-11-07 04:21:04', NULL, 0, 'UKQ1.231207.002', 1, '2025-04-10 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(44, 'mdevendar6997', 'mdevendar.hyd@gmail.com', NULL, 'mdevendar.hyd@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'mdevendar', '2024-11-07 07:36:12', NULL, 0, 'UP1A.231005.007', 1, '2025-04-09 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(45, 'selvaganapathi2632', 'selvaganapathi.blr@gmail.com', NULL, 'selvaganapathi.blr@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Selvaganapathi', '2024-11-07 08:43:59', NULL, 0, 'UP1A.231005.007', 1, '2025-04-08 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(46, 'kamalbohara9810', 'backupkamal857@gmail.com', NULL, 'backupkamal857@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Kamal Bohara', '2024-11-07 09:46:53', NULL, 0, 'QKQ1.191014.012', 1, '2025-04-07 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(47, 'shamirakashyap9949', 'shamirakashyap90@gmail.com', NULL, 'shamirakashyap90@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Shamira Kashyap', '2024-11-08 06:04:49', NULL, 0, 'UP1A.231005.007', 1, '2025-04-06 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(48, 'alvintodd4315', 'alvintodd.76279@gmail.com', NULL, 'alvintodd.76279@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Alvin Todd', '2024-11-09 03:49:56', NULL, 0, 'QKR1.191246.002', 1, '2025-04-05 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(49, 'kiranbhatta4183', 'kiranbhatta074@gmail.com', NULL, 'kiranbhatta074@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Kiran Bhatta', '2024-11-16 12:18:36', NULL, 0, 'RKQ1.211119.001', 1, '2025-04-04 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(50, 'roshanibogati3623', 'rbogati199@gmail.com', NULL, 'rbogati199@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'roshani bogati', '2024-11-19 09:44:57', NULL, 0, 'UKQ1.230917.001', 1, '2025-04-03 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(51, 'jayadhami3100', 'dhamijaya330@gmail.com', NULL, 'dhamijaya330@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Jaya Dhami', '2024-11-21 10:34:03', NULL, 0, 'UP1A.231005.007', 1, '2025-04-02 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(52, 'bibek5239', 'b20456803@gmail.com', NULL, 'b20456803@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'User@123', '2024-11-23 15:36:25', NULL, 0, 'UKQ1.230924.001', 1, '2025-04-01 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(53, 'dipakkumar9385', 'rajdipak392@gmail.com', NULL, 'rajdipak392@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Dipak Kumar', '2024-11-28 05:20:53', NULL, 0, 'UP1A.231005.007', 1, '2025-03-31 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(54, 'xyzabc5794', 'xa75417@gmail.com', NULL, 'xa75417@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'xyz abc', '2024-12-02 13:34:11', NULL, 0, 'SKQ1.211202.001', 1, '2025-03-30 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(55, 'bis5058', '665555', NULL, 'ttff', 'student', NULL, 0, NULL, NULL, 'qwerty', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'bis', '2024-12-25 05:53:27', NULL, 0, 'AP3A.240905.015.A2', 0, '2025-03-29 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(56, 'bis3763', 'qwerty', NULL, 'ttff', 'student', NULL, 0, NULL, NULL, '665555', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'bis', '2024-12-25 05:54:30', NULL, 0, 'AP3A.240905.015.A2', 0, '2025-03-28 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(57, 'bbbb4196', 'asdfg', NULL, 'ggggg', 'student', NULL, 0, NULL, NULL, '443333', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'bbbb', '2024-12-25 06:02:06', NULL, 0, 'AP3A.240905.015.A2', 0, '2025-03-27 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(58, 'rdfff2330', 'ggggg', NULL, 'ggggg', 'student', NULL, 0, NULL, NULL, '65556', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'rdfff', '2024-12-25 06:08:17', NULL, 0, 'AP3A.240905.015.A2', 0, '2025-03-26 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(59, 'rdfff1386', 'ggggg', NULL, 'ggggggg', 'student', NULL, 0, NULL, NULL, '6555655', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'rdfff', '2024-12-25 06:13:36', NULL, 0, 'AP3A.240905.015.A2', 1, '2025-03-25 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(60, 'abtech1530', '0987@7890@Bishal', 'pbkdf2:sha256:600000$C75uO2INIoSf1lvQ$00bf721540a81fdbf28a2388db511a1b476ef6ea6e46e24c5912edadf3106092', 'regmibishal964@gmail.com', 'student', NULL, 0, NULL, NULL, '976699293', 'https://lh3.googleusercontent.com/a/ACg8ocJlB_u6MZrNR2RinMbjEG4XeDld2nLL2vWnoGmrboBtKcu2KA=s96-c', 'Bishal', '2024-12-26 23:38:51', '2025-11-21 08:14:08', 0, 'pc6dzqaf44oz9vvr7dwxnl', 1, '2025-03-24 08:12:26', '2025-11-26 21:51:33', 'email', NULL, 'llama-3.3-70b', NULL),
(74, 'ssksksk8366', 'scrypt:32768:8:1$zIsoYUzM4dEyQnMc$bd6bc65dc063c1c01912ead746869e82109a55b20431c563fe152eabb964b07ff18499e87a714d18ca0916c5f10ed1f40b02cbe83fc08db94a56770a92351cc5', NULL, 'sjsjjsjsj', 'student', NULL, 0, NULL, NULL, '1191991919', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'ssksksk', '2025-01-19 15:34:46', NULL, 0, 'ssisiisssh', 0, '2025-03-10 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(75, 'bhyyy4575', 'scrypt:32768:8:1$447Ji5L0p4d4romv$7ef3a4626eb7ccf7afcf1f88758518121ea3de0fba39214a09404775767166d1e2ff817270b67b7b8de44302dedb80e9ca258bb827c424a5a41a54166a7f4ad8', NULL, 'tffyfgg', 'student', NULL, 0, NULL, NULL, '566777', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'bhyyy', '2025-01-19 15:35:46', NULL, 0, 'TQ3C.230901.001.B1', 0, '2025-03-09 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(79, 'bhyyyhhhhhh5817', '12345678', NULL, 'tffyfggbbbbbb', 'student', NULL, 0, NULL, NULL, '5667777777', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'bhyyyhhhhhh', '2025-01-19 15:40:51', NULL, 0, 'TQ3C.230901.001.B1', 1, '2025-03-05 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(81, 'ashvikyadav2986', 'ashveekyadav@gmail.com', NULL, 'ashveekyadav@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Ashvik Yadav', '2025-01-19 17:16:25', NULL, 0, 'RP1A.201005.001', 1, '2025-03-03 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(82, 'ashlyatechwebsite4351', 'websiteashlyatech@gmail.com', NULL, 'websiteashlyatech@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Ashlya Tech Website', '2025-01-20 08:21:30', NULL, 0, 'QP1A.190711.020', 0, '2025-03-02 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(83, 'brightstarpublicschool4351', 'bpublicschool749@gmail.com', NULL, 'bpublicschool749@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Bright star public school', '2025-01-20 08:22:15', NULL, 0, 'QP1A.190711.020', 1, '2025-03-01 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(84, 'ndgurueducationalplatform2547', 'info.ndgurueducational@gmail.com', NULL, 'info.ndgurueducational@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'NDGURU Educational Platform', '2025-01-20 14:34:10', NULL, 0, 'UKQ1.230924.001', 0, '2025-02-28 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(85, 'abhishekbaharkher2361', 'abhi29shekbaharkher@gmail.com', NULL, 'abhi29shekbaharkher@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Abhishek Baharkher', '2025-02-07 06:47:35', NULL, 0, 'UP1A.231005.007', 1, '2025-02-27 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(86, 'vivekbaharkher8364', 'vivekbaharkher@gmail.com', NULL, 'vivekbaharkher@gmail.com', 'student', NULL, 0, NULL, NULL, '1234567890', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Vivek Baharkher', '2025-02-09 04:50:56', NULL, 0, 'AP3A.240905.015.A2', 1, '2025-02-26 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(87, 'testing8364', '12345678', NULL, 'testing@gamil', 'student', NULL, 0, NULL, NULL, '9800000000', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'testing', '2025-02-09 04:58:08', NULL, 0, 'AP3A.240905.015.A2', 0, '2025-02-25 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(88, 'dharmarajregmi5491', '12345678', NULL, 'regmibishal96@gmail.com', 'student', NULL, 0, NULL, NULL, '9858425125', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Dharma Raj Regmi', '2025-05-20 09:28:20', NULL, 0, 'ran84alfvl6mffzkijy0c', 1, '2025-02-24 08:12:26', '2025-05-23 08:12:26', 'email', NULL, 'llama-3.3-70b', NULL),
(90, 'dharmarajregmi1459', '0987654321', NULL, 'regmibishal00@gmail.com', 'student', NULL, 0, NULL, NULL, '9098765432', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Dharma Raj Regmi', '2025-07-02 13:48:01', NULL, 0, 'g86cday96uiffyy77j2cfj', 1, '2025-07-02 13:48:01', '2025-07-02 13:48:06', 'email', NULL, 'llama-3.3-70b', NULL),
(91, 'cursori2689', '', NULL, 'icursor69@gmail.com', 'student', NULL, 0, NULL, NULL, '', 'https://lh3.googleusercontent.com/a/ACg8ocLj9NTAb5JLThgSaYO-4Qf7L8xtLxADtcRgB-qOM_fQG3yP1g=s96-c', 'Cursor I', '2025-08-03 10:25:06', NULL, 0, 'c50ecrasw6i9av288gr2fv', 0, '2025-08-03 10:25:06', '2025-08-03 10:25:06', 'google', NULL, 'llama-3.3-70b', NULL),
(92, 'bishalregmi1042', '', NULL, 'jeevanregmihoneygain@gmail.com', 'student', NULL, 0, NULL, NULL, '', 'https://lh3.googleusercontent.com/a/ACg8ocJ0x5ud5eIYkSFkiV4E5HUTTVm-NMC8krizcq9L8SOkmyvW-w=s96-c', 'Bishal Regmi', '2025-08-26 14:06:04', NULL, 0, 'usp4ngqgzj7a57y0y2tkl', 0, '2025-08-26 14:06:04', '2025-08-26 14:06:04', 'google', NULL, 'llama-3.3-70b', NULL),
(93, 'ashlyasoftwares3619', '', '', 'ashlyasoftwares@gmail.com', 'student', NULL, 0, NULL, NULL, '', 'https://lh3.googleusercontent.com/a/ACg8ocK7psQDNgSw3ZZhdkQ5NNggD5FNuLFEoC0VUuOwAX_X7p4i=s96-c', 'Ashlya Softwares', '2025-08-31 12:44:11', NULL, 0, 'fiiym2np26jq6pxbgnpkb', 1, '2025-08-31 12:44:11', '2025-08-31 12:44:11', 'google', NULL, 'llama-3.3-70b', NULL),
(94, 'kritikasingh2006', '', NULL, 'kritikasinghks916@gmail.com', 'student', NULL, 0, NULL, NULL, '', 'https://lh3.googleusercontent.com/a/ACg8ocJioWQtotlbweT7avd2cZQBA8UgSwCuSYTCcv98yKHmInBmsl64=s96-c', 'kritika Singh', '2025-09-13 20:11:24', NULL, 0, 'kdtrwgnin66zxrk81bewy', 0, '2025-09-13 20:11:24', '2025-09-13 20:11:24', 'google', NULL, 'llama-3.3-70b', NULL),
(95, 'bikashdas6221', '', NULL, 'itsmebikash060@gmail.com', 'student', NULL, 0, NULL, NULL, '', 'https://lh3.googleusercontent.com/a/ACg8ocIaDvZdH8GUIzi-O_q5xHGNkXkGAb0X6mKawHPM9mMyv9Ohow=s96-c', 'Bikash Das', '2025-09-15 10:46:34', NULL, 0, '3j9jlimg0a66odwu7alwfa', 1, '2025-09-15 10:46:34', '2025-11-11 10:48:15', 'google', NULL, 'llama-3.3-70b', NULL),
(96, 'asmodkhakurel3914', '', NULL, 'asmodkhakurel@gmail.com', 'student', NULL, 0, NULL, NULL, '', 'https://lh3.googleusercontent.com/a/ACg8ocI2_PACv3b38-25sKgqGWLlxjWFY0kMKW3k9AI8bF5Oc7loqkg_zQ=s96-c', 'Asmod Khakurel', '2025-09-16 11:38:07', NULL, 0, 'obc2xfkl95kqka3ji3dko', 0, '2025-09-16 11:38:07', '2025-09-16 11:38:07', 'google', NULL, 'llama-3.3-70b', NULL),
(97, 'brayanstark6873', '', NULL, 'starkbrayan22@gmail.com', 'student', NULL, 0, NULL, NULL, '', 'https://lh3.googleusercontent.com/a/ACg8ocLUacMp5s8Q2EqepoDQvvZkHoILf49Vo2lERI-dv34DJdeJdA=s96-c', 'brayan stark', '2025-09-16 11:55:02', NULL, 0, 'bfwev9kc81m9qy00rbw3dn', 0, '2025-09-16 11:55:02', '2025-09-16 11:55:02', 'google', NULL, 'llama-3.3-70b', NULL),
(98, 'premiumaccinfo5204', '', NULL, 'accinfopremium@gmail.com', 'student', NULL, 0, NULL, NULL, '', 'https://lh3.googleusercontent.com/a/ACg8ocJEWHb98OFEaZeCXs9w8T5fJ7EZr4PDXMmQhkX-4zJlJ7JByw=s96-c', 'Premium Accinfo', '2025-09-21 19:53:59', NULL, 0, 'frqo6q1bkbmau3dwtqez', 0, '2025-09-21 19:53:59', '2025-09-21 19:53:59', 'google', NULL, 'llama-3.3-70b', NULL),
(99, 'cursorii5048', 'ashlyaacademy', '', 'cursorii496@gmail.com', 'student', NULL, 0, NULL, NULL, '', 'https://lh3.googleusercontent.com/a/ACg8ocJxKvrAZEJJVZB_jZZpPpUGQZ9OQ3kRaED_4MKFnkw_TlH9yA=s96-c', 'cursor Ii', '2025-10-01 15:00:01', NULL, 0, 'flutter_device_token', 1, '2025-10-01 15:00:01', '2025-10-01 15:00:01', 'google', NULL, 'llama-3.3-70b', NULL),
(100, 'bishal1190', 'ashlyaacademy', 'pbkdf2:sha256:1000000$0tYGDFR0OCbtcl64$c04cc166ee0b74dfa6cea42c1f78c4f625ae4d001ee2a129588b78e6cc7f65ba', 'ashlyasoftwares123@gmail.com', 'student', NULL, 0, NULL, NULL, '9823900252', 'https://media.istockphoto.com/id/1300845620/vector/user-icon-flat-isolated-on-white-background-user-symbol-vector-illustration.jpg?s=612x612&w=0&k=20&c=yBeyba0hUkh14_jgv1OKqIH0CCSWU_4ckRkAoy2p73o=', 'Bishal', '2025-11-21 13:51:35', '2025-11-21 08:06:43', 0, 'hunqdn5vn26dr66htr7a88', 1, '2025-11-21 13:51:35', '2025-11-21 13:51:43', 'regular', NULL, 'llama-3.3-70b', NULL);

--
-- Triggers `user`
--
DELIMITER $$
CREATE TRIGGER `auto_enroll_free_courses_on_user_signup` AFTER INSERT ON `user` FOR EACH ROW BEGIN
    
    DECLARE done INT DEFAULT FALSE;
    DECLARE course_id_var INT;
    
    
    DECLARE free_courses_cursor CURSOR FOR 
        SELECT id 
        FROM courses 
        WHERE (price - discount) <= 0 
        AND status = 'active' 
        AND approval_status = 'approved'
        AND is_public = 1;
    
    
    DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE;
    
    
    IF NEW.user_type = 'student' THEN
        
        
        OPEN free_courses_cursor;
        
        
        read_loop: LOOP
            FETCH free_courses_cursor INTO course_id_var;
            
            IF done THEN
                LEAVE read_loop;
            END IF;
            
            
            INSERT INTO enrollments (
                course_id,
                user_id,
                enrolled_at,
                progress,
                is_completed,
                payment_status,
                payment_amount,
                created_by,
                notes
            ) VALUES (
                course_id_var,
                NEW.id,
                NOW(),
                0,
                0,
                'free',
                0.00,
                NULL,
                CONCAT('Auto-enrolled in free course on user signup at ', NOW())
            );
            
        END LOOP;
        
        
        CLOSE free_courses_cursor;
        
    END IF;
    
END
$$
DELIMITER ;

-- --------------------------------------------------------

--
-- Table structure for table `user_activity_log`
--

CREATE TABLE `user_activity_log` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `activity_type` varchar(100) NOT NULL,
  `activity_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`activity_data`)),
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_activity_log`
--

INSERT INTO `user_activity_log` (`id`, `user_id`, `activity_type`, `activity_data`, `created_at`) VALUES
(1, 60, 'course_enrollment', '{\"course_id\": 11, \"payment_status\": \"pending\", \"payment_amount\": 3000.00, \"enrollment_id\": 0}', '2025-10-21 10:18:26'),
(2, 60, 'course_enrollment', '{\"course_id\": 8, \"payment_status\": \"pending\", \"payment_amount\": 3700.00, \"enrollment_id\": 0}', '2025-10-23 06:47:56');

-- --------------------------------------------------------

--
-- Table structure for table `user_analytics_summary`
--

CREATE TABLE `user_analytics_summary` (
  `id` int(11) NOT NULL,
  `user_id` varchar(50) NOT NULL,
  `total_quizzes` int(11) NOT NULL DEFAULT 0,
  `total_questions` int(11) NOT NULL DEFAULT 0,
  `total_correct` int(11) NOT NULL DEFAULT 0,
  `total_time_spent` int(11) NOT NULL DEFAULT 0,
  `avg_score` decimal(5,2) NOT NULL DEFAULT 0.00,
  `best_score` decimal(5,2) NOT NULL DEFAULT 0.00,
  `current_streak` int(11) NOT NULL DEFAULT 0,
  `longest_streak` int(11) NOT NULL DEFAULT 0,
  `last_activity` datetime DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Enhanced summary table for quick user analytics queries with automatic updates';

--
-- Dumping data for table `user_analytics_summary`
--

INSERT INTO `user_analytics_summary` (`id`, `user_id`, `total_quizzes`, `total_questions`, `total_correct`, `total_time_spent`, `avg_score`, `best_score`, `current_streak`, `longest_streak`, `last_activity`, `created_at`, `updated_at`) VALUES
(1, 'admin', 0, 0, 0, 0, 0.00, 0.00, 0, 0, NULL, '2025-08-02 09:29:24', '2025-08-02 09:29:24'),
(2, '60', 116, 724, 415, 5787, 58.51, 100.00, 0, 0, '2025-11-23 15:54:46', '2025-08-02 09:35:41', '2025-11-23 10:09:48');

-- --------------------------------------------------------

--
-- Table structure for table `user_audio_preferences`
--

CREATE TABLE `user_audio_preferences` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `preferred_language` varchar(10) DEFAULT 'English',
  `auto_switch_language` tinyint(1) DEFAULT 0 COMMENT 'Auto switch to available language if preferred not available',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `user_audio_preferences`
--

INSERT INTO `user_audio_preferences` (`id`, `user_id`, `preferred_language`, `auto_switch_language`, `created_at`, `updated_at`) VALUES
(1, 60, 'Nepali', 0, '2025-08-12 16:29:07', '2025-08-12 21:13:19');

-- --------------------------------------------------------

--
-- Stand-in structure for view `user_chat_statistics`
-- (See below for the actual view)
--
CREATE TABLE `user_chat_statistics` (
`user_id` int(11)
,`username` varchar(100)
,`user_email` varchar(100)
,`total_sessions` bigint(21)
,`active_sessions` bigint(21)
,`total_messages` bigint(21)
,`user_messages_sent` bigint(21)
,`ai_responses_received` bigint(21)
,`favorite_messages` bigint(21)
,`total_tokens_used` decimal(32,0)
,`last_chat_activity` timestamp
);

-- --------------------------------------------------------

--
-- Table structure for table `user_coupon_assignments`
--

CREATE TABLE `user_coupon_assignments` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `coupon_id` int(11) NOT NULL,
  `assigned_by` int(11) DEFAULT NULL COMMENT 'Admin ID who assigned the coupon',
  `assigned_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `is_used` tinyint(1) DEFAULT 0,
  `used_at` timestamp NULL DEFAULT NULL,
  `notes` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `user_learning_insights`
--

CREATE TABLE `user_learning_insights` (
  `id` int(11) NOT NULL,
  `user_id` varchar(50) NOT NULL,
  `insight_type` varchar(50) NOT NULL,
  `title` varchar(200) NOT NULL,
  `message` text NOT NULL,
  `recommendation` text DEFAULT NULL,
  `priority` enum('low','medium','high') DEFAULT 'medium',
  `is_active` tinyint(1) DEFAULT 1,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `expires_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Enhanced AI-generated insights and recommendations for users';

-- --------------------------------------------------------

--
-- Table structure for table `user_learning_streaks`
--

CREATE TABLE `user_learning_streaks` (
  `id` int(11) NOT NULL,
  `user_id` varchar(50) NOT NULL,
  `streak_date` date NOT NULL,
  `quizzes_taken` int(11) NOT NULL DEFAULT 0,
  `avg_score` decimal(5,2) NOT NULL DEFAULT 0.00,
  `total_time` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Enhanced table tracking daily learning activity for streak calculation';

--
-- Dumping data for table `user_learning_streaks`
--

INSERT INTO `user_learning_streaks` (`id`, `user_id`, `streak_date`, `quizzes_taken`, `avg_score`, `total_time`, `created_at`) VALUES
(1, '60', '2025-08-02', 6, 41.67, 158, '2025-08-02 09:35:41'),
(8, '60', '2025-08-03', 1, 66.67, 11, '2025-08-03 00:52:08'),
(9, '60', '2025-08-04', 19, 73.68, 188, '2025-08-04 00:10:04'),
(28, '60', '2025-08-09', 18, 59.68, 1584, '2025-08-09 04:24:57'),
(46, '60', '2025-08-12', 5, 82.78, 62, '2025-08-12 04:17:57'),
(51, '60', '2025-08-14', 6, 64.07, 281, '2025-08-14 10:35:56'),
(57, '60', '2025-08-26', 1, 44.44, 325, '2025-08-26 16:02:01'),
(58, '60', '2025-08-31', 1, 100.00, 29, '2025-08-31 07:45:03'),
(59, '60', '2025-09-05', 2, 8.75, 145, '2025-09-05 10:51:36'),
(61, '60', '2025-09-06', 1, 12.50, 111, '2025-09-06 07:49:11'),
(62, '60', '2025-09-07', 1, 10.00, 27, '2025-09-07 02:43:25'),
(63, '60', '2025-09-13', 1, 20.00, 44, '2025-09-13 10:08:28'),
(64, '60', '2025-10-21', 1, 62.00, 60, '2025-10-21 10:08:19'),
(65, '60', '2025-10-22', 1, 50.00, 161, '2025-10-22 04:40:56'),
(66, '60', '2025-11-23', 1, 10.00, 11, '2025-11-23 10:09:48');

-- --------------------------------------------------------

--
-- Table structure for table `user_notes_progress`
--

CREATE TABLE `user_notes_progress` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `topic_id` int(11) NOT NULL,
  `notes_completed` tinyint(1) DEFAULT 0,
  `audio_progress` int(11) DEFAULT 0,
  `last_accessed` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `user_notes_progress`
--

INSERT INTO `user_notes_progress` (`id`, `user_id`, `topic_id`, `notes_completed`, `audio_progress`, `last_accessed`) VALUES
(1, 60, 1, 1, 40, '2025-07-25 02:19:36'),
(2, 60, 3, 1, 420, '2025-07-25 14:59:32'),
(3, 60, 5, 1, 0, '2025-07-25 01:12:58'),
(4, 60, 2, 1, 80, '2025-07-25 02:14:41'),
(5, 60, 4, 1, 30, '2025-07-25 02:21:33'),
(6, 60, 7, 0, 0, '2025-07-25 13:34:35'),
(7, 60, 125, 1, 570, '2025-07-26 14:00:01'),
(9, 60, 126, 1, 440, '2025-07-26 14:17:15'),
(10, 60, 127, 1, 620, '2025-07-26 15:25:08'),
(11, 60, 128, 0, 0, '2025-07-26 15:25:12'),
(12, 60, 42, 1, 0, '2025-08-26 13:03:23'),
(13, 60, 38, 1, 0, '2025-08-26 13:20:40'),
(14, 60, 54, 0, 0, '2025-08-26 15:14:02'),
(15, 60, 40, 0, 0, '2025-08-30 03:53:34'),
(16, 60, 1012, 1, 0, '2025-09-04 03:33:42'),
(17, 60, 1007, 1, 0, '2025-09-04 04:34:28'),
(18, 60, 1010, 1, 0, '2025-09-04 05:09:27'),
(19, 60, 1011, 1, 0, '2025-09-04 05:15:59'),
(20, 60, 1009, 1, 0, '2025-09-04 05:37:31'),
(21, 60, 1013, 1, 0, '2025-09-04 08:13:10'),
(22, 60, 1008, 1, 0, '2025-09-05 02:26:30'),
(23, 60, 1402, 1, 0, '2025-09-05 03:20:56'),
(24, 60, 1403, 1, 0, '2025-09-05 03:21:45'),
(25, 60, 1424, 0, 0, '2025-09-05 04:00:29'),
(26, 60, 1418, 1, 0, '2025-09-05 04:01:05'),
(27, 60, 1412, 1, 0, '2025-09-05 04:02:20'),
(28, 60, 1622, 1, 0, '2025-09-05 06:13:44'),
(29, 60, 1615, 1, 0, '2025-09-05 06:40:04'),
(30, 60, 1609, 1, 0, '2025-09-05 06:56:06'),
(31, 60, 1603, 1, 0, '2025-09-05 07:16:27'),
(32, 60, 1602, 1, 0, '2025-09-05 07:40:19'),
(33, 60, 1619, 1, 0, '2025-09-12 08:10:41'),
(34, 60, 10003, 0, 0, '2025-09-12 10:22:44'),
(35, 60, 12321, 0, 0, '2025-09-12 10:37:50'),
(36, 60, 12348, 1, 0, '2025-09-12 13:03:44'),
(37, 60, 14228, 0, 0, '2025-09-13 00:38:24'),
(38, 60, 14230, 1, 0, '2025-09-13 07:20:50'),
(39, 60, 14229, 1, 0, '2025-09-13 07:24:11'),
(40, 60, 14232, 1, 0, '2025-09-13 07:41:03'),
(41, 60, 14227, 1, 0, '2025-09-13 07:44:08'),
(42, 60, 14226, 1, 0, '2025-09-13 07:49:37'),
(43, 60, 14231, 1, 0, '2025-09-13 08:08:23'),
(44, 60, 14081, 1, 0, '2025-09-13 08:14:50'),
(45, 60, 14225, 1, 0, '2025-09-13 08:17:18'),
(46, 60, 14234, 1, 0, '2025-09-13 08:25:45'),
(47, 60, 14233, 0, 0, '2025-09-13 08:26:40'),
(48, 60, 14235, 1, 0, '2025-09-13 08:27:23'),
(49, 60, 14224, 1, 0, '2025-09-13 08:44:36'),
(50, 60, 11212, 0, 0, '2025-09-16 02:14:21'),
(51, 60, 11208, 1, 0, '2025-09-16 03:02:37'),
(52, 60, 11210, 1, 0, '2025-09-16 03:11:32'),
(53, 60, 11401, 1, 0, '2025-09-16 07:30:29'),
(54, 60, 11406, 1, 0, '2025-09-16 07:32:34'),
(55, 60, 11404, 1, 0, '2025-09-16 07:47:37'),
(56, 60, 11405, 1, 0, '2025-09-16 07:49:09'),
(57, 60, 11503, 0, 0, '2025-09-16 07:49:39'),
(58, 60, 11402, 0, 0, '2025-09-16 07:50:24'),
(59, 60, 11506, 1, 0, '2025-09-16 16:31:46'),
(60, 60, 11403, 1, 0, '2025-09-16 15:44:39'),
(61, 60, 11502, 1, 0, '2025-09-16 16:32:22'),
(62, 60, 11501, 1, 0, '2025-09-16 16:40:28'),
(63, 60, 13212, 1, 0, '2025-09-16 17:31:23'),
(64, 60, 11151, 0, 0, '2025-09-17 02:27:25'),
(65, 60, 11153, 1, 0, '2025-09-17 02:51:04'),
(66, 60, 11160, 1, 0, '2025-09-17 03:42:56'),
(67, 60, 11175, 1, 0, '2025-09-17 08:03:05'),
(68, 60, 11163, 1, 0, '2025-09-17 08:08:04'),
(69, 60, 11169, 1, 0, '2025-09-17 09:18:32'),
(70, 60, 11101, 0, 0, '2025-09-17 09:35:51'),
(71, 60, 11178, 1, 0, '2025-09-17 09:36:28'),
(72, 60, 13205, 1, 0, '2025-09-18 03:38:14'),
(73, 60, 11185, 1, 0, '2025-09-18 04:45:32'),
(74, 60, 13102, 1, 0, '2025-09-18 06:23:17'),
(75, 60, 14239, 1, 0, '2025-09-18 07:28:10'),
(76, 60, 13104, 1, 0, '2025-09-18 07:44:49'),
(77, 60, 13115, 1, 0, '2025-09-18 08:11:36'),
(78, 60, 13117, 1, 0, '2025-09-18 08:34:15'),
(79, 60, 13116, 1, 0, '2025-09-18 09:09:22'),
(80, 60, 13118, 0, 0, '2025-09-18 10:16:28'),
(81, 60, 14240, 1, 0, '2025-09-18 10:35:38'),
(82, 60, 13119, 0, 0, '2025-09-18 10:48:18'),
(83, 60, 14247, 1, 0, '2025-09-18 12:46:04'),
(84, 60, 14243, 1, 0, '2025-09-18 14:17:10'),
(85, 60, 14244, 1, 0, '2025-09-18 14:42:18'),
(86, 60, 14246, 1, 0, '2025-09-18 14:54:54'),
(87, 60, 13121, 0, 0, '2025-09-18 15:17:57'),
(88, 60, 13112, 0, 0, '2025-09-18 15:38:02'),
(89, 60, 13111, 1, 0, '2025-09-18 15:55:29'),
(90, 60, 13109, 0, 0, '2025-09-18 15:56:13'),
(91, 60, 13108, 1, 0, '2025-09-18 16:40:14'),
(92, 60, 14242, 1, 0, '2025-09-18 16:41:17'),
(93, 60, 11703, 1, 0, '2025-09-18 17:13:34'),
(94, 60, 11152, 1, 0, '2025-11-21 08:18:18'),
(95, 60, 11901, 0, 0, '2025-09-20 06:48:34'),
(96, 60, 11914, 0, 0, '2025-09-20 06:48:50'),
(97, 60, 11916, 0, 0, '2025-09-20 06:49:03'),
(98, 60, 11201, 1, 0, '2025-09-20 13:02:52'),
(99, 60, 11209, 0, 0, '2025-09-20 06:50:11'),
(100, 60, 13201, 0, 0, '2025-09-20 07:19:10'),
(101, 60, 5350, 0, 0, '2025-09-20 07:20:04'),
(102, 60, 11203, 0, 0, '2025-09-20 14:10:44'),
(103, 60, 11204, 0, 0, '2025-09-20 14:20:29'),
(104, 60, 11202, 0, 0, '2025-09-20 16:48:02'),
(105, 60, 13106, 0, 0, '2025-09-21 01:27:24'),
(106, 60, 27, 0, 0, '2025-09-22 16:17:30'),
(107, 60, 25, 0, 0, '2025-09-22 16:49:03'),
(108, 60, 23, 0, 0, '2025-09-23 01:18:56'),
(109, 60, 11154, 0, 0, '2025-09-23 15:33:06'),
(110, 60, 11155, 0, 0, '2025-09-23 15:46:55'),
(111, 60, 11604, 0, 0, '2025-09-24 05:48:34'),
(112, 60, 11601, 0, 0, '2025-09-24 06:14:40'),
(113, 60, 11602, 0, 0, '2025-09-24 06:34:58'),
(114, 60, 11, 0, 0, '2025-09-26 13:45:31'),
(115, 60, 11158, 0, 0, '2025-09-26 15:45:23'),
(116, 60, 11190, 0, 0, '2025-09-26 15:46:19'),
(117, 60, 11174, 1, 0, '2025-09-26 15:46:50'),
(118, 60, 11701, 1, 0, '2025-09-27 03:28:12'),
(119, 60, 11213, 1, 0, '2025-09-28 06:57:12'),
(120, 60, 11802, 0, 0, '2025-09-30 02:34:39'),
(121, 60, 11906, 0, 0, '2025-11-21 08:17:46'),
(122, 60, 11902, 0, 0, '2025-11-27 01:19:54');

-- --------------------------------------------------------

--
-- Stand-in structure for view `user_performance_view`
-- (See below for the actual view)
--
CREATE TABLE `user_performance_view` (
`user_id` varchar(50)
,`total_quizzes` int(11)
,`total_questions` int(11)
,`total_correct` int(11)
,`avg_score` decimal(5,2)
,`best_score` decimal(5,2)
,`current_streak` int(11)
,`longest_streak` int(11)
,`last_activity` datetime
,`recent_avg_score` decimal(9,6)
,`recent_quiz_count` bigint(21)
,`performance_trend` varchar(9)
);

-- --------------------------------------------------------

--
-- Table structure for table `user_study_patterns`
--

CREATE TABLE `user_study_patterns` (
  `id` int(11) NOT NULL,
  `user_id` varchar(50) NOT NULL,
  `study_hour` tinyint(4) NOT NULL,
  `day_of_week` tinyint(4) NOT NULL,
  `avg_performance` decimal(5,2) NOT NULL DEFAULT 0.00,
  `session_count` int(11) NOT NULL DEFAULT 0,
  `total_time` int(11) NOT NULL DEFAULT 0,
  `last_updated` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Enhanced user study time patterns for optimal scheduling insights';

-- --------------------------------------------------------

--
-- Table structure for table `videos`
--

CREATE TABLE `videos` (
  `id` int(11) NOT NULL,
  `title` varchar(255) NOT NULL,
  `video_url` varchar(500) NOT NULL,
  `type` varchar(1000) NOT NULL,
  `description` text DEFAULT NULL,
  `credit` varchar(255) NOT NULL,
  `for_which` varchar(100) NOT NULL,
  `level` enum('beginner','intermediate','advanced') NOT NULL,
  `image_url` varchar(500) NOT NULL,
  `video_duration` time NOT NULL,
  `count_exercises` int(11) DEFAULT 0,
  `count_students` int(11) DEFAULT 0,
  `count_plays` int(11) DEFAULT 0,
  `count_views` int(11) DEFAULT 0,
  `count_likes` int(11) DEFAULT 0,
  `count_comments` int(11) DEFAULT 0,
  `short_description` varchar(500) NOT NULL,
  `course_id` int(11) NOT NULL,
  `is_live` tinyint(1) NOT NULL DEFAULT 0,
  `chat_id` varchar(255) NOT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `free` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` datetime DEFAULT current_timestamp(),
  `updated_at` datetime DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `topic_id` int(100) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `videos`
--

INSERT INTO `videos` (`id`, `title`, `video_url`, `type`, `description`, `credit`, `for_which`, `level`, `image_url`, `video_duration`, `count_exercises`, `count_students`, `count_plays`, `count_views`, `count_likes`, `count_comments`, `short_description`, `course_id`, `is_live`, `chat_id`, `is_active`, `free`, `created_at`, `updated_at`, `topic_id`) VALUES
(1, 'Introduction to Whole Numbers', 'https://www.youtube.com/watch?v=YTfOITtPMUI', 'Educational', 'Learn the basics of whole numbers including counting, comparing, and basic operations', 'Ashlya Academy', 'Grade 6 Mathematics', 'beginner', 'https://img.youtube.com/vi/YTfOITtPMUI/maxresdefault.jpg', '00:25:00', 5, 0, 0, 150, 12, 3, 'Basic introduction to whole numbers and their properties', 1, 0, 'grade6_math_001', 1, 1, '2025-01-14 15:30:00', '2025-01-14 15:30:00', 2),
(2, 'Adding and Subtracting Whole Numbers', 'https://www.youtube.com/watch?v=gEw8hG5Z5Ws', 'Educational', 'Master addition and subtraction of whole numbers with regrouping', 'Ashlya Academy', 'Grade 6 Mathematics', 'beginner', 'https://img.youtube.com/vi/gEw8hG5Z5Ws/maxresdefault.jpg', '00:30:00', 7, 0, 0, 200, 18, 5, 'Addition and subtraction techniques for whole numbers', 1, 0, 'grade6_math_002', 1, 1, '2025-01-14 15:30:00', '2025-01-14 15:30:00', 2),
(3, 'Understanding Positive and Negative Numbers', 'https://www.youtube.com/watch?v=h7lAX3cGOPU', 'Educational', 'Introduction to integers, number line, and comparing positive and negative numbers', 'Ashlya Academy', 'Grade 6 Mathematics', 'beginner', 'https://img.youtube.com/vi/h7lAX3cGOPU/maxresdefault.jpg', '00:28:00', 6, 0, 0, 175, 15, 4, 'Learn about positive and negative numbers on the number line', 1, 0, 'grade6_math_003', 1, 1, '2025-01-14 15:30:00', '2025-01-14 15:30:00', 3),
(4, 'Introduction to Fractions', 'https://www.youtube.com/watch?v=uAQpKz7vF_I', 'Educational', 'Understanding fractions as parts of a whole and basic fraction concepts', 'Ashlya Academy', 'Grade 6 Mathematics', 'beginner', 'https://img.youtube.com/vi/uAQpKz7vF_I/maxresdefault.jpg', '00:35:00', 8, 0, 0, 220, 22, 6, 'Basic concepts of fractions and their representations', 1, 0, 'grade6_math_004', 1, 1, '2025-01-14 15:30:00', '2025-01-14 15:30:00', 4),
(5, 'Lines and Angles Basics', 'https://www.youtube.com/watch?v=OLB_hQrOvLs', 'Educational', 'Learn about different types of lines, angles, and their measurements', 'Ashlya Academy', 'Grade 6 Mathematics', 'beginner', 'https://img.youtube.com/vi/OLB_hQrOvLs/maxresdefault.jpg', '00:32:00', 6, 0, 0, 185, 16, 4, 'Understanding lines, angles, and basic geometric concepts', 1, 0, 'grade6_math_005', 1, 1, '2025-01-14 15:30:00', '2025-01-14 15:30:00', 6),
(6, 'States of Matter Explained', 'https://www.youtube.com/watch?v=gYBp4YTRLlM', 'Educational', 'Learn about solids, liquids, gases, and how matter changes between states', 'Ashlya Academy', 'Grade 6 Science', 'beginner', 'https://img.youtube.com/vi/gYBp4YTRLlM/maxresdefault.jpg', '00:25:00', 5, 0, 0, 190, 18, 5, 'Understanding the three states of matter and their properties', 2, 0, 'grade6_sci_001', 1, 1, '2025-01-14 15:30:00', '2025-01-14 15:30:00', 11),
(7, 'Introduction to Variables', 'https://www.youtube.com/watch?v=aWUlDOkdLV0', 'Educational', 'Understanding variables, expressions, and basic algebraic concepts', 'Ashlya Academy', 'Grade 7 Mathematics', 'beginner', 'https://img.youtube.com/vi/aWUlDOkdLV0/maxresdefault.jpg', '00:32:00', 7, 0, 0, 245, 23, 7, 'Introduction to variables and algebraic expressions', 5, 0, 'grade7_math_001', 1, 1, '2025-01-14 15:30:00', '2025-01-14 15:30:00', 17),
(8, 'Introduction to Functions', 'https://www.youtube.com/watch?v=vvMAJBPzBcg', 'Educational', 'Understanding functions, domain, range, and function notation', 'Ashlya Academy', 'Grade 8 Mathematics', 'intermediate', 'https://img.youtube.com/vi/vvMAJBPzBcg/maxresdefault.jpg', '00:38:00', 9, 0, 0, 320, 30, 10, 'Introduction to functions and their basic properties', 8, 0, 'grade8_math_001', 1, 1, '2025-01-14 15:30:00', '2025-01-14 15:30:00', 23),
(9, 'Graphing Quadratic Functions', 'https://www.youtube.com/watch?v=tLNSQS9oCRQ', 'Educational', 'Learn to graph parabolas and understand quadratic function properties', 'Ashlya Academy', 'Grade 9 Mathematics', 'intermediate', 'https://img.youtube.com/vi/tLNSQS9oCRQ/maxresdefault.jpg', '00:42:00', 11, 0, 0, 350, 32, 12, 'Comprehensive guide to graphing quadratic functions', 10, 0, 'grade9_math_001', 1, 1, '2025-01-14 15:30:00', '2025-01-14 15:30:00', 25),
(10, 'Introduction to Kinematics', 'https://www.youtube.com/watch?v=WcMhE7oVqIo', 'Educational', 'Learn about position, velocity, acceleration, and motion graphs', 'Ashlya Academy', 'Grade 9 Physics', 'intermediate', 'https://img.youtube.com/vi/WcMhE7oVqIo/maxresdefault.jpg', '00:40:00', 10, 0, 0, 280, 26, 8, 'Understanding motion through kinematics', 11, 0, 'grade9_phys_001', 1, 1, '2025-01-14 15:30:00', '2025-01-14 15:30:00', 27),
(5001, 'Physical Quantities: One Shot Lecture || Grade-11 Physics || Grand Revision || Powered By CLC Sir', 'https://www.youtube.com/watch?v=8M9jcyC9MOM', 'youtube', 'Struggling with the basics of Physical Quantities in Grade 11 Physics? In this one-shot revision lecture, CLC Sir explains fundamental concepts, units, and dimensional analysis with clarity and real-life examples.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/8M9jcyC9MOM/sddefault.jpg', '02:36:15', 0, 0, 0, 612, 51, 16, 'Complete physical quantities concepts', 8, 0, 'phys_quantities_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1007),
(5002, 'Uses of Dimensional Analysis One Shot || 100% Fixed Questions || Grade-11 Physics || By CLC Sir', 'https://www.youtube.com/watch?v=jjTMFhJYIsw', 'youtube', 'In this comprehensive one-shot video, CLC Sir explains the Uses of Dimensional Analysis—a crucial topic for Grade 11 Physics students.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/jjTMFhJYIsw/sddefault.jpg', '01:31:41', 0, 0, 0, 202, 20, 2, 'Dimensional analysis applications', 8, 0, 'dim_analysis_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1007),
(5003, 'Accuracy & Precision | Significant Figure | Rounding off the numbers | One Shot Lecture | By CLC Sir', 'https://www.youtube.com/watch?v=UBp3_vncee0', 'youtube', 'In this One Shot Lecture, CLC Sir covers the most important and foundational topics in Grade-11 Physics — Accuracy & Precision, Significant Figures, and Rounding Off the Numbers.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/UBp3_vncee0/sddefault.jpg', '01:04:55', 0, 0, 0, 134, 14, 3, 'Accuracy, precision, and significant figures', 8, 0, 'accuracy_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1007),
(5004, 'Scalars & Vectors One Shot Lecture || Grand Revision Series || Grade-11 Physics || Powerd By CLC Sir', 'https://www.youtube.com/watch?v=rt0MborZPX8', 'youtube', 'In this One Shot Lecture, CLC Sir covers the complete concept of Scalars and Vectors—perfect for your Grade-11 Physics revision.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/rt0MborZPX8/maxresdefault.jpg', '02:02:01', 0, 0, 0, 298, 25, 7, 'Complete scalars and vectors', 8, 0, 'vectors_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1008),
(5005, 'Triangle, Parallelogram & Polygon Law of Vector Addition | 100% Fixed Derivation | Grade-11 By CLC', 'https://www.youtube.com/watch?v=zHGM_ZysiPQ', 'youtube', 'CLC Sir presents a 100% fixed and clear derivation of Triangle Law, Parallelogram Law, and Polygon Law of Vector Addition.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/zHGM_ZysiPQ/sddefault.jpg', '01:00:49', 0, 0, 0, 193, 25, 3, 'Vector addition laws with derivation', 8, 0, 'vector_add_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1008),
(5006, 'Resolution of vector || Dot product & cross product || Unit Vector || Grade-11 Physics || By CLC Sir', 'https://www.youtube.com/watch?v=J_kmSRaCMg0', 'youtube', 'CLC Sir explains the fundamental concepts of Vectors including Resolution of Vectors, Dot Product & Cross Product, and Unit Vector.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/J_kmSRaCMg0/sddefault.jpg', '01:02:03', 0, 0, 0, 201, 14, 10, 'Vector resolution and products', 8, 0, 'vector_res_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1008),
(5007, 'Kinematics In One Shot || Grade-11 Physics || Grand Revision Series || 100% Syllabus || By CLC Sir', 'https://www.youtube.com/watch?v=ZYV2ZPgOlE8', 'youtube', 'In this power-packed One Shot Revision Session, CLC Sir covers the entire Kinematics chapter for Grade 11 Physics.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/ZYV2ZPgOlE8/maxresdefault.jpg', '02:51:09', 0, 0, 0, 340, 31, 8, 'Complete kinematics chapter', 8, 0, 'kinematics_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1009),
(5008, 'Kinematical Equation of Motion || Proof With Graphical Method || Grade-11 Physics || By CLC Sir', 'https://www.youtube.com/watch?v=jgFNGMn03uY', 'youtube', 'CLC Sir explains the Kinematical Equations of Motion using a graphical method, specially designed for Grade-11 Physics students.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/jgFNGMn03uY/maxresdefault.jpg', '00:40:12', 0, 0, 0, 186, 16, 1, 'Kinematic equations derivation', 8, 0, 'kin_eq_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1009),
(5009, 'Concept of Relative Velocity || How to calculate relative velocity ? || Grade-11 Physics By CLC Sir', 'https://www.youtube.com/watch?v=VLAeb8hglTA', 'youtube', 'CLC Sir explains the Concept of Relative Velocity in a simple and engaging way, specially designed for Grade-11 Physics students.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/VLAeb8hglTA/maxresdefault.jpg', '00:25:23', 0, 0, 0, 121, 13, 4, 'Relative velocity concepts', 8, 0, 'rel_vel_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1009),
(5010, 'Projectile Motion Theory  || Grade-11 Physics || 100% Sure Questions || Easy Explanation By CLC Sir', 'https://www.youtube.com/watch?v=gTKgwaT79OU', 'youtube', 'CLC Sir breaks down the Projectile Motion Theory for Grade-11 Physics with easy explanations and 100% sure-shot questions.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/gTKgwaT79OU/maxresdefault.jpg', '01:26:26', 0, 0, 0, 499, 46, 18, 'Projectile motion theory', 8, 0, 'proj_motion_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1009),
(5011, 'Instantaneous Velocity &  Relative Velocity | Speed versus Velocity |  Distance versus Displacement', 'https://www.youtube.com/watch?v=F-vqbLBe_CE', 'youtube', 'CLC Sir covers the most important motion concepts for Grade-11 Physics students including instantaneous velocity and relative velocity.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/F-vqbLBe_CE/maxresdefault.jpg', '00:45:04', 0, 0, 0, 49, 6, 6, 'Velocity and displacement concepts', 8, 0, 'inst_vel_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1009),
(5012, 'Dynamics In One Shot | Grand Revision Series | Grade-11 Physics | Full Syllabus Covered By CLC Sir', 'https://www.youtube.com/watch?v=-v5H3X4ajfw', 'youtube', 'CLC Sir Presents \"Dynamics in One Shot\"—a complete and concise revision video that covers 100% of the Grade-11 Physics syllabus on Dynamics.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/-v5H3X4ajfw/sddefault.jpg', '03:02:37', 0, 0, 0, 322, 34, 21, 'Complete dynamics chapter', 8, 0, 'dynamics_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1010),
(5013, 'Principle of Conservation of Linear Momentum || Grade-11 Physics || 100% Sure Question || By CLC Sir', 'https://www.youtube.com/watch?v=jVzlF9ZNOO0', 'youtube', 'CLC Sir explains one of the most important and exam-focused topics of Grade-11 Physics – the Principle of Conservation of Linear Momentum.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/jVzlF9ZNOO0/maxresdefault.jpg', '00:18:10', 0, 0, 0, 207, 20, 5, 'Linear momentum conservation', 8, 0, 'momentum_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1010),
(5014, 'To Prove: linear momentum & Impulse are numerically equal || 100% Sure Question || Grade-11 Physics', 'https://www.youtube.com/watch?v=Mpr6zsxY1Qk', 'youtube', 'We dive into one of the most important and guaranteed questions in Grade-11 Physics: \"Prove that Linear Momentum and Impulse are numerically equal.\"', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/Mpr6zsxY1Qk/maxresdefault.jpg', '00:08:43', 0, 0, 0, 129, 14, 5, 'Momentum and impulse relation', 8, 0, 'impulse_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1010),
(5015, 'Friction & It\'s Type || Laws of Solid Friction || Coefficient of Friction || Grade-11 Physics By CLC', 'https://www.youtube.com/watch?v=FF77iN7G37Q', 'youtube', 'CLC Sir covers the complete concept of Friction for Grade-11 Physics, including types of friction and laws of solid friction.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/FF77iN7G37Q/maxresdefault.jpg', '00:22:38', 0, 0, 0, 36, 2, 3, 'Friction and its types', 8, 0, 'friction_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1010),
(5016, 'Angle of Friction & Angle of Repose are numerically equal || Most Imp question || Grade-11 Physics', 'https://www.youtube.com/watch?v=FMMOtKhuiE0', 'youtube', 'Learn why the Angle of Friction and Angle of Repose are numerically equal with derivation and proof.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/FMMOtKhuiE0/maxresdefault.jpg', '00:16:49', 0, 0, 0, 157, 14, 8, 'Angle of friction equals repose', 8, 0, 'angle_friction_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1010),
(5017, 'Free Body Diagram  || How to solve problems related free body diagram || Grade-11 Physics By CLC Sir', 'https://www.youtube.com/watch?v=vAvy9_wOHFk', 'youtube', 'We dive deep into one of the most essential tools in Physics — the Free Body Diagram (FBD). Understanding how to draw and use FBDs is key to solving mechanics problems.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/vAvy9_wOHFk/maxresdefault.jpg', '00:36:41', 0, 0, 0, 105, 11, 10, 'Free body diagram concepts', 8, 0, 'fbd_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1010),
(5018, 'Motion in Lift: Apparent Weight Calculation || Grade-11 Physics || Clear Concept By CLC Sir', 'https://www.youtube.com/watch?v=wDxz4VEpZDw', 'youtube', 'We explain the interesting topic of Motion in a Lift (Elevator) and how to calculate the Apparent Weight in different cases of motion.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/wDxz4VEpZDw/maxresdefault.jpg', '00:13:00', 0, 0, 0, 54, 2, 3, 'Apparent weight in lift', 8, 0, 'lift_motion_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1010),
(5019, 'Relation between Linear Momentum & Impulse: J=P || Fixed Question || Grade-11 Physics || By CLC Sir', 'https://www.youtube.com/watch?v=ZVxMYf1dgTI', 'youtube', 'We cover a fixed and most expected question in Grade-11 Physics: \"What is the relation between Impulse (J) and Linear Momentum (P)?\"', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/ZVxMYf1dgTI/maxresdefault.jpg', '00:23:34', 0, 0, 0, 99, 4, 2, 'Impulse momentum relation', 8, 0, 'impulse_mom_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1010),
(5020, 'Work, Energy & Power in One Shot || Grand Revision  || Grade-11 Physics NEB/CTEVT || By CLC Sir', 'https://www.youtube.com/watch?v=95MKaTcHg8E', 'youtube', 'Boost your Physics preparation with this power-packed one-shot revision of Work, Energy & Power.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/95MKaTcHg8E/maxresdefault.jpg', '01:52:15', 0, 0, 0, 210, 17, 3, 'Work, energy, and power', 8, 0, 'work_energy_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1011),
(5021, 'Work-Energy Theorem: With Proof || 100% Fixed Question || Grade-11 Physics NEB/CTEVT || By CLC Sir', 'https://www.youtube.com/watch?v=Da-LV4dK3tk', 'youtube', 'CLC Sir explains the Work-Energy Theorem with a complete and clear derivation – an important and frequently asked question.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/Da-LV4dK3tk/sddefault.jpg', '00:06:59', 0, 0, 0, 156, 21, 1, 'Work-energy theorem proof', 8, 0, 'work_theorem_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1011),
(5022, 'Conservation of Mechanical Energy: With Proof || 100% Fixed Question || Grade-11 Physics By CLC Sir', 'https://www.youtube.com/watch?v=W0FUO8b37pw', 'youtube', 'CLC Sir explains the Law of Conservation of Mechanical Energy with full theory and mathematical proof.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/W0FUO8b37pw/sddefault.jpg', '00:15:42', 0, 0, 0, 187, 21, 8, 'Conservation of energy proof', 8, 0, 'energy_cons_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1011),
(5023, 'Power & Energy || Derivation for K.E. & P.E. || Grade-11 Physics || Easy Explanation By CLC Sir', 'https://www.youtube.com/watch?v=lYnUqjsUxko', 'youtube', 'Power & Energy derivations for Kinetic Energy and Potential Energy explained in an easy way.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/lYnUqjsUxko/sddefault.jpg', '00:17:30', 0, 0, 0, 48, 3, 2, 'KE and PE derivations', 8, 0, 'ke_pe_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1011),
(5024, 'One Dimensional Elastic Collision: With Proof || Most IMP Derivation || Grade-11 Physics || By CLC', 'https://www.youtube.com/watch?v=gQyU7MLdLxg', 'youtube', 'CLC Sir explains One-Dimensional Elastic Collision with full derivation – a most important concept for Grade-11 NEB/CTEVT Physics.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/gQyU7MLdLxg/sddefault.jpg', '00:11:55', 0, 0, 0, 3, 0, 0, 'Elastic collision derivation', 8, 0, 'elastic_col_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1011),
(5025, 'Conservative & Non-Conservative Forces || Elastic & Inelastic Collisions With Examples || By CLC Sir', 'https://www.youtube.com/watch?v=Eewm0cktbVc', 'youtube', 'CLC Sir explains the difference between Conservative and Non-Conservative Forces, along with Elastic and Inelastic Collisions using clear examples.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/Eewm0cktbVc/sddefault.jpg', '00:18:10', 0, 0, 0, 41, 2, 1, 'Conservative forces and collisions', 8, 0, 'conservative_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1011),
(5026, 'Variation of K.E. with mass || A light body & a heavy body both have same K.E. which one will have', 'https://www.youtube.com/watch?v=cLuJLmOcMX4', 'youtube', 'CLC Sir explains how Kinetic Energy varies with mass and answers conceptual questions about momentum and kinetic energy.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/cLuJLmOcMX4/sddefault.jpg', '00:10:34', 0, 0, 0, 46, 5, 4, 'KE variation with mass', 8, 0, 'ke_variation_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1011),
(5027, 'Workdone by constant & variable force || How to calculate workdone by variable force ? || By CLC Sir', 'https://www.youtube.com/watch?v=jldmCwStA2M', 'youtube', 'CLC Sir explains what is work done by a constant force and how to calculate work done by a variable force.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/jldmCwStA2M/sddefault.jpg', '00:34:00', 0, 0, 0, 45, 4, 3, 'Work by variable force', 8, 0, 'work_variable_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1011),
(5028, 'Chapter-6 Circular Motion in One Shot || Grand Revision Series || Grade-11 Physics || By CLC Sir', 'https://www.youtube.com/watch?v=1TNVjI4Jckk', 'youtube', 'CLC Sir presents a complete one-shot revision of Circular Motion for Grade-11 Physics covering all key concepts.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/1TNVjI4Jckk/maxresdefault.jpg', '02:06:49', 0, 0, 0, 5, 0, 0, 'Circular motion complete', 8, 0, 'circular_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1012),
(5029, 'Circular Motion in One Shot || Grand Revision Series || Grade-11 Physics NEB/CTEB || By CLC Sir', 'https://www.youtube.com/watch?v=a2NNaUvbRrQ', 'youtube', 'Complete one-shot revision of Circular Motion for Grade-11 Physics covering uniform circular motion, centripetal force, and more.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/a2NNaUvbRrQ/sddefault.jpg', '02:06:49', 0, 0, 0, 266, 16, 2, 'Circular motion revision', 8, 0, 'circular_2', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1012),
(5030, 'Derivation of v = rω || Relation between linear & angular velocity || 2 marks Sure || By CLC Sir', 'https://www.youtube.com/watch?v=Cr6vSF0W0e0', 'youtube', 'CLC Sir proves the fundamental relation between linear velocity and angular velocity: v = rω — a sure-shot 2 marks question.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/Cr6vSF0W0e0/sddefault.jpg', '00:05:10', 0, 0, 0, 165, 15, 5, 'Linear angular velocity relation', 8, 0, 'v_omega_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1012),
(5031, 'Time period of conical pendulum: Horizontal circle || 3 Marks Sure Derivation || By CLC Sir', 'https://www.youtube.com/watch?v=pkNCTMREOKI', 'youtube', 'CLC Sir presents the full derivation of the time period of a conical pendulum - often asked for 3 marks in board exams.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/pkNCTMREOKI/sddefault.jpg', '00:17:45', 0, 0, 0, 212, 19, 5, 'Conical pendulum time period', 8, 0, 'conical_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1012),
(5032, 'Centripetal acceleration & force || 100% Fixed Derivation || Grade-11 Physics NEB/CTEVT | By CLC Sir', 'https://www.youtube.com/watch?v=2BuY5POmNd4', 'youtube', 'CLC Sir explains the concept and derivation of centripetal acceleration and centripetal force in a clear and simple way.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/2BuY5POmNd4/sddefault.jpg', '00:17:46', 0, 0, 0, 224, 19, 14, 'Centripetal force derivation', 8, 0, 'centripetal_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1012),
(5033, 'Motion in a vertical circle: Calculation of maximum & minimum tension || critical velocity || By CLC', 'https://www.youtube.com/watch?v=sc3pU_m4Ne4', 'youtube', 'CLC Sir explains the Motion in a Vertical Circle, calculating maximum and minimum tension and critical velocity.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/sc3pU_m4Ne4/sddefault.jpg', '00:24:40', 0, 0, 0, 151, 16, 3, 'Vertical circle motion', 8, 0, 'vertical_circle_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1012),
(5034, 'Banking of Curved Road || Application of Banking || Bending of Cyclist || Grade-11Physics By CLC Sir', 'https://www.youtube.com/watch?v=3wmTtooXwg8', 'youtube', 'CLC Sir explains the concepts of Banking of Curved Roads, its Applications, and Bending of a Cyclist with clear diagrams.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/3wmTtooXwg8/sddefault.jpg', '00:25:36', 0, 0, 0, 39, 2, 1, 'Banking of roads', 8, 0, 'banking_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1012),
(5035, 'Bending of Cyclist || Circular Motion || Grade-11 Physics || Learn With CLC Sir', 'https://www.youtube.com/watch?v=K6Ftz0mKEV4', 'youtube', 'We explore the concept of bending of a cyclist on a circular track and derive the mathematical expression.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/K6Ftz0mKEV4/sddefault.jpg', '00:08:06', 0, 0, 0, 32, 4, 1, 'Cyclist bending physics', 8, 0, 'cyclist_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1012),
(5036, 'Circular Motion Terminologies || Some General Terms Related to Circular Motion || Physics By CLC Sir', 'https://www.youtube.com/watch?v=AIcHsR0WWZk', 'youtube', 'Explore important terminologies and general concepts related to Circular Motion including angular velocity, centripetal force, etc.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/AIcHsR0WWZk/sddefault.jpg', '00:29:12', 0, 0, 0, 55, 7, 3, 'Circular motion terms', 8, 0, 'circular_terms_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1012),
(5037, 'Gravitation in one shot lecture|| Grade-11 Physics NEB/CTEVT || Entrance Preparation || By CLC Sir', 'https://www.youtube.com/watch?v=rPuAjdlBT8Y', 'youtube', 'We cover the entire chapter of Gravitation in one shot—perfect for Grade 11 NEB/CTEVT students and entrance exam preparation.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/rPuAjdlBT8Y/maxresdefault.jpg', '02:50:09', 0, 0, 0, 5, 1, 2, 'Complete gravitation chapter', 8, 0, 'gravitation_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1013),
(5038, 'Chapter-7 Gravitation in one shot || Grade-11 Physics || Grand Revision Series || By CLC Sir', 'https://www.youtube.com/watch?v=JnschjnGFfY', 'youtube', 'CLC Sir covers Chapter-7: Gravitation in a clear, concise, and exam-focused way — all in one shot!', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/JnschjnGFfY/sddefault.jpg', '02:50:09', 0, 0, 0, 246, 21, 8, 'Gravitation revision', 8, 0, 'gravitation_2', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1013),
(5039, 'Newton\'s Law of Gravitation || Grade-11 Physics || Dimensions of Gravitational Constant ||By CLC Sir', 'https://www.youtube.com/watch?v=A1433mt3OZk', 'youtube', 'Newton\'s Law of Gravitation and dimensions of gravitational constant explained clearly.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/A1433mt3OZk/maxresdefault.jpg', '00:23:41', 0, 0, 0, 52, 6, 3, 'Newton\'s law of gravitation', 8, 0, 'newton_grav_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1013),
(5040, 'Variation in \'g\' due to height & depth || 100% Fixed Derivation || Grade-11 Physics || By CLC Sir', 'https://www.youtube.com/watch?v=FC0ChwlE2FI', 'youtube', 'Complete derivation of variation in acceleration due to gravity with height and depth.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/FC0ChwlE2FI/maxresdefault.jpg', '00:54:06', 0, 0, 0, 137, 14, 3, 'Variation of g with height depth', 8, 0, 'g_variation_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1013),
(5041, 'Variation in \'g\' due to height || Grade-11 Physics NEB || Almost sure derivation || By CLC Sir', 'https://www.youtube.com/watch?v=7huJ3IpNgBg', 'youtube', 'Variation in acceleration due to gravity with height - almost sure derivation for NEB exams.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/7huJ3IpNgBg/maxresdefault.jpg', '00:24:22', 0, 0, 0, 100, 8, 4, 'g variation with height', 8, 0, 'g_height_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1013),
(5042, 'Variation in \'g\' due to depth || Chapter-7 Gravity & Gravitation || Grade-11 Physics || By CLC Sir', 'https://www.youtube.com/watch?v=RRbji7JSRjQ', 'youtube', 'Variation in acceleration due to gravity with depth explained clearly.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/RRbji7JSRjQ/maxresdefault.jpg', '00:19:46', 0, 0, 0, 78, 9, 1, 'g variation with depth', 8, 0, 'g_depth_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1013),
(5043, 'Escape Velocity of Earth: Derivation || Grade-11 Physics || How to Calculate || 11-Physics By CLC', 'https://www.youtube.com/watch?v=IM1m0aQ3AKg', 'youtube', 'Escape Velocity of Earth derivation and calculation explained step by step.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/IM1m0aQ3AKg/maxresdefault.jpg', '00:15:58', 0, 0, 0, 3, 0, 0, 'Escape velocity derivation', 8, 0, 'escape_vel_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1013),
(5044, 'Geostationary satellite || Height of geostationary satellite || Grade-11 Physics NEB || By CLC Sir', 'https://www.youtube.com/watch?v=be_hrBmFxiY', 'youtube', 'Geostationary satellite concepts and height calculation explained.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/be_hrBmFxiY/maxresdefault.jpg', '00:10:15', 0, 0, 0, 4, 0, 0, 'Geostationary satellite', 8, 0, 'geostat_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1013),
(5045, 'Motion of Satellite || Orbital Velocity & Time-period of Satellite || Most IMP Derivation By CLC Sir', 'https://www.youtube.com/watch?v=5PD_qhlu6Mc', 'youtube', 'Motion of Satellite with orbital velocity and time-period derivations.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/5PD_qhlu6Mc/maxresdefault.jpg', '00:19:07', 0, 0, 0, 41, 5, 3, 'Satellite motion', 8, 0, 'satellite_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1013),
(5046, 'Total energy of satellite || Additional energy to uplift the satellite || IMP for numerical By CLC', 'https://www.youtube.com/watch?v=JdRKnVAQLk0', 'youtube', 'Total energy of satellite and additional energy calculations important for numerical problems.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/JdRKnVAQLk0/maxresdefault.jpg', '00:09:18', 0, 0, 0, 136, 13, 13, 'Satellite energy', 8, 0, 'satellite_energy_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1013),
(5047, 'Centre of Mass (C.M.) & Centre of Gravity (C.G.) | Grade-11 Physics | Ch-7 Gravitation | By CLC Sir', 'https://www.youtube.com/watch?v=D9GbViajST8', 'youtube', 'Centre of Mass and Centre of Gravity concepts explained for gravitation chapter.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/D9GbViajST8/maxresdefault.jpg', '00:08:14', 0, 0, 0, 25, 3, 2, 'Centre of mass and gravity', 8, 0, 'center_mass_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1013),
(5048, '📚 Elasticity in One Shot: Full Syllabus | Grand Revision | Grade-11 Physics NEB | By CLC Sir 🔍', 'https://www.youtube.com/watch?v=vrxjQg3NQkc', 'youtube', 'CLC Sir breaks down the entire chapter of Elasticity from Grade-11 NEB Physics in the simplest and most effective way.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/vrxjQg3NQkc/maxresdefault.jpg', '01:30:36', 0, 0, 0, 11, 1, 0, 'Complete elasticity chapter', 8, 0, 'elasticity_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1014),
(5049, '📚 Elasticity in One Shot || NEB Exam & Entrance Preparation || Grade-11 Physics NEB | By CLC Sir 🔍', 'https://www.youtube.com/watch?v=B7nhjmFHbaw', 'youtube', 'Power-packed one-shot revision session covering the entire chapter of Elasticity for exam preparation.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/B7nhjmFHbaw/sddefault.jpg', '01:30:36', 0, 0, 0, 194, 19, 11, 'Elasticity exam prep', 8, 0, 'elasticity_2', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1014),
(5050, 'Hooke\'s Law & Stress-Strain Curve || Grade-11 Physics || Easy Explanation By CLC Sir', 'https://www.youtube.com/watch?v=Kh04Fkzg3CA', 'youtube', 'CLC Sir breaks down Hooke\'s Law and Stress-Strain Curve concepts in the simplest way possible.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/Kh04Fkzg3CA/sddefault.jpg', '00:16:38', 0, 0, 0, 64, 10, 3, 'Hooke\'s law and stress-strain', 8, 0, 'hookes_law_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1014),
(5051, 'Stress Versus  Strain Curve for Elastomer Substance || Grade-11 Physics NEB || By CLC Sir', 'https://www.youtube.com/watch?v=IKq5OGQq3E0', 'youtube', 'Stress vs Strain Curve for Elastomer like rubber and their unique behavior explained clearly.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/IKq5OGQq3E0/sddefault.jpg', '00:07:44', 0, 0, 0, 67, 10, 4, 'Elastomer stress-strain', 8, 0, 'elastomer_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1014),
(5052, 'Poisson\'s  Ratio || Lateral & Longitudinal Strain ||Grade-11 Physics || By CLC Sir', 'https://www.youtube.com/watch?v=IxiQIGg3LCs', 'youtube', 'Poisson\'s Ratio explained with lateral strain and longitudinal strain concepts and real-life examples.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/IxiQIGg3LCs/sddefault.jpg', '00:08:19', 0, 0, 0, 55, 6, 4, 'Poisson\'s ratio', 8, 0, 'poisson_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1014),
(5053, 'Elasticity & Plasticity | Stress & Strain | Super Easy Explanation | Grade-11 Physics | By CLCnSir', 'https://www.youtube.com/watch?v=uu3LsBUItVc', 'youtube', 'Basic concepts of Elasticity & Plasticity and Stress & Strain explained in a super easy way.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/uu3LsBUItVc/sddefault.jpg', '00:13:14', 0, 0, 0, 29, 1, 1, 'Elasticity basics', 8, 0, 'elastic_basic_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1014),
(5054, 'Types of Stress & Strain || Most Important Concept for Numericals || Grade-11 Physics || By CLC Sir', 'https://www.youtube.com/watch?v=RvzUiCVWtDI', 'youtube', 'Types of Stress & Strain explained - the most important concept for solving numerical problems.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/RvzUiCVWtDI/sddefault.jpg', '00:21:05', 0, 0, 0, 33, 4, 1, 'Types of stress strain', 8, 0, 'stress_types_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1014),
(5055, 'Energy stored in a stretched wire || 100% Fixed Derivation || Grade-11 Physics NEB || By CLC Sir', 'https://www.youtube.com/watch?v=sTECkTSLLGs', 'youtube', 'Energy Stored in a Stretched Wire with 100% fixed derivation format for NEB exams.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/sTECkTSLLGs/sddefault.jpg', '00:12:23', 0, 0, 0, 92, 6, 1, 'Energy in stretched wire', 8, 0, 'wire_energy_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1014),
(5056, 'Modulus of Elasticity & It\'s Types || 100% Fixed for Numericals || Grade-11 Physics || By CLC Sir', 'https://www.youtube.com/watch?v=8hUSfatbtfg', 'youtube', 'Modulus of Elasticity & Its Types with 100% fixed method to solve any numerical question.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/8hUSfatbtfg/sddefault.jpg', '00:21:08', 0, 0, 0, 53, 2, 1, 'Modulus of elasticity types', 8, 0, 'modulus_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1014),
(5057, 'Principle of Moment || Torque & Equilibrium || Torque due to couple || Grade-11 Physics By CLC Sir', 'https://www.youtube.com/watch?v=PDQaz39AEY0', 'youtube', 'CLC Sir explains Torque and Equilibrium, including the Principle of Moments and Torque due to Couple.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/PDQaz39AEY0/maxresdefault.jpg', '00:29:33', 0, 0, 0, 56, 3, 1, 'Torque and equilibrium', 8, 0, 'torque_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1014),
(5058, 'Principle of Calorimetry || Result of Mixing Hot water & Cold Ice || Grade-11 Physics NEB || CLC Sir', 'https://www.youtube.com/watch?v=6kvrGIzwqII', 'youtube', 'Principle of Calorimetry with result of mixing hot water and cold ice - full solution numerical.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/6kvrGIzwqII/sddefault.jpg', '00:18:19', 0, 0, 0, 282, 21, 7, 'Calorimetry principle', 8, 0, 'calorimetry_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1017),
(5059, 'Quantity of Heat, Grade-11 Physics NEB || Convert -10°C  Ice into 100°C Steam ||Solution By CLC Sir', 'https://www.youtube.com/watch?v=tog0xt167fI', 'youtube', 'Quantity of Heat calculation for conversion of -10°C ice into 100°C steam with complete solution.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/tog0xt167fI/sddefault.jpg', '00:12:10', 0, 0, 0, 138, 16, 6, 'Ice to steam conversion', 8, 0, 'heat_quantity_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1017),
(5060, 'Result of mixing  10 gm of ice at -10°C With 10 gm of water at 90°C || Principle of Calorimetry', 'https://www.youtube.com/watch?v=pryfafDtvCg', 'youtube', 'Result of mixing ice and hot water using principle of calorimetry with detailed calculation.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/pryfafDtvCg/sddefault.jpg', '00:10:36', 0, 0, 0, 216, 18, 0, 'Ice water mixing', 8, 0, 'ice_mixing_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1017),
(5061, 'Heat Transfer: IMP Numerical Collection || Grade-11 Physics Thermal Conductivity || By CLC Sir', 'https://www.youtube.com/watch?v=iRaljAyJ65E', 'youtube', 'Important numerical problems on Heat Transfer and Thermal Conductivity for Grade 11 Physics.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/iRaljAyJ65E/sddefault.jpg', '01:11:37', 0, 0, 0, 227, 22, 8, 'Heat transfer numericals', 8, 0, 'heat_transfer_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1018),
(5062, 'Heat Transfer Numericals || Stefan\'s Law of Black Body Radiation || Grade-11 Physics || By CLC Sir', 'https://www.youtube.com/watch?v=oAkPr3pbKDw', 'youtube', 'Stefan\'s Law of Black Body Radiation and heat transfer numerical problems solved step by step.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/oAkPr3pbKDw/sddefault.jpg', '01:08:44', 0, 0, 0, 178, 14, 3, 'Stefan\'s law numericals', 8, 0, 'stefan_law_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1018),
(5063, 'Rate of Heat Transfer: Numerical Collection || Grade-11 Physics || B.E. Civil_I/B.E. Computer_II', 'https://www.youtube.com/watch?v=IgLU7ZheOsM', 'youtube', 'Rate of Heat Transfer with a collection of solved numerical problems for Grade 11 Physics and engineering students.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/IgLU7ZheOsM/sddefault.jpg', '02:15:31', 0, 0, 0, 298, 28, 6, 'Heat transfer rate numericals', 8, 0, 'heat_rate_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1018),
(5064, 'Full Course Revision Series of Grade-11 Physics Part #01 || Exam Oriented Power Class By CLC Sir', 'https://www.youtube.com/watch?v=LKqquATip3U', 'youtube', 'Full Course Revision Series of Grade-11 Physics for board exam oriented preparation with crystal clear concepts.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/LKqquATip3U/sddefault.jpg', '01:21:58', 0, 0, 0, 3011, 195, 66, 'Full course revision part 1', 8, 0, 'revision_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1001),
(5065, 'Full Course Revision Series of Grade-11 NEB Physics Part#02 ||Exam Oriented Power Classes By CLC Sir', 'https://www.youtube.com/watch?v=gTTQHKaDOF4', 'youtube', 'Full Course Revision Series Part 2 for Grade-11 NEB Physics with board exam oriented power classes.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/gTTQHKaDOF4/sddefault.jpg', '01:02:32', 0, 0, 0, 1428, 99, 27, 'Full course revision part 2', 8, 0, 'revision_2', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1001),
(5066, 'Full Course Revision Series of Grade-11NEB Physics Part#03 ||Exam Oriented Power Classe By CLC Sir||', 'https://www.youtube.com/watch?v=ruPvq5sQCyA', 'youtube', 'Full Course Revision Series Part 3 for Grade-11 NEB Physics with complete exam oriented approach.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/ruPvq5sQCyA/sddefault.jpg', '01:24:44', 0, 0, 0, 983, 94, 16, 'Full course revision part 3', 8, 0, 'revision_3', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1001),
(5067, '🎯 Grade-11 Physics || Most Important Question Collection📚 Chapterwise 100% Sure Topics || By CLC Sir', 'https://www.youtube.com/watch?v=GzHb7BtMi-w', 'youtube', 'Most Important Question Collection chapterwise with 100% sure topics for Grade-11 Physics final exam preparation.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/GzHb7BtMi-w/sddefault.jpg', '00:41:41', 0, 0, 0, 518, 45, 13, 'Important questions collection', 8, 0, 'important_q_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1001),
(5068, 'Important Questions Collection | Unit-1 Mechanics | Grade-11 Physics | 20 Days Exam Plan By CLC Sir', 'https://www.youtube.com/watch?v=dAwD-izYPwY', 'youtube', 'Important Questions Collection for Unit-1 Mechanics with 20 days exam preparation plan.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/dAwD-izYPwY/maxresdefault.jpg', '00:24:12', 0, 0, 0, 844, 80, 21, 'Mechanics important questions', 8, 0, 'mech_important_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1002),
(5069, 'Grade-11 NEB Annual Examination || Syllabus, Question Pattern & Specification Grid   Discussion', 'https://www.youtube.com/watch?v=pkP1xVTS8_Y', 'youtube', 'Complete discussion on Grade-11 NEB Annual Examination covering syllabus, question pattern, and specification grid.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/pkP1xVTS8_Y/sddefault.jpg', '00:26:58', 0, 0, 0, 1287, 86, 24, 'NEB exam pattern discussion', 8, 0, 'neb_pattern_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1001),
(5070, 'Learn With CLC Sir:  Get A+ in Physics & Mathematics || 100% Guaranteed  || By CLC Sir', 'https://www.youtube.com/watch?v=WaODIr2hQao', 'youtube', 'Powerful tips, tricks, and strategies that are tested, trusted, and 100% effective for scoring top marks in Physics and Mathematics.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/WaODIr2hQao/sddefault.jpg', '00:02:17', 0, 0, 0, 291, 34, 6, 'Study tips for A+ grades', 8, 0, 'study_tips_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1001),
(5071, 'Refraction Through Prism Important Numericals || Grade-11 Physics CTEVT & NEB || By CLC Sir', 'https://www.youtube.com/watch?v=B5DLXPMFTUA', 'youtube', 'Refraction Through Prism - 3 Important Numericals for Grade-11 CTEVT & NEB Physics with complete solutions.', 'CLC Sir', 'Grade 11 Physics', 'intermediate', 'https://i.ytimg.com/vi/B5DLXPMFTUA/sddefault.jpg', '00:11:41', 0, 0, 0, 780, 48, 10, 'Prism refraction numericals', 8, 0, 'prism_num_1', 1, 1, '2025-09-04 08:53:01', '2025-09-04 08:53:01', 1022);

--
-- Triggers `videos`
--
DELIMITER $$
CREATE TRIGGER `update_duration_minutes_after_video_delete` AFTER DELETE ON `videos` FOR EACH ROW BEGIN
    DECLARE new_duration_minutes INT;

    
    SELECT SUM(TIME_TO_SEC(video_duration)) / 60
    INTO new_duration_minutes
    FROM videos
    WHERE topic_id = OLD.topic_id;

    
    UPDATE topics
    SET duration_minutes = new_duration_minutes
    WHERE id = OLD.topic_id;
END
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `update_duration_minutes_after_video_insert` AFTER INSERT ON `videos` FOR EACH ROW BEGIN
    DECLARE new_duration_minutes INT;

    
    SELECT SUM(TIME_TO_SEC(video_duration)) / 60
    INTO new_duration_minutes
    FROM videos
    WHERE topic_id = NEW.topic_id;

    
    UPDATE topics
    SET duration_minutes = new_duration_minutes
    WHERE id = NEW.topic_id;
END
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `update_duration_minutes_after_video_update` AFTER UPDATE ON `videos` FOR EACH ROW BEGIN
    DECLARE new_duration_minutes INT;

    
    SELECT SUM(TIME_TO_SEC(video_duration)) / 60
    INTO new_duration_minutes
    FROM videos
    WHERE topic_id = NEW.topic_id;

    
    UPDATE topics
    SET duration_minutes = new_duration_minutes
    WHERE id = NEW.topic_id;
END
$$
DELIMITER ;

-- --------------------------------------------------------

--
-- Table structure for table `video_jobs`
--

CREATE TABLE `video_jobs` (
  `job_id` varchar(36) NOT NULL,
  `user_id` int(11) NOT NULL,
  `subject` text NOT NULL,
  `language` varchar(50) NOT NULL,
  `status` varchar(20) NOT NULL,
  `progress` int(11) DEFAULT 0,
  `video_path` varchar(255) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `completed_at` timestamp NULL DEFAULT NULL,
  `error_message` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `video_jobs`
--

INSERT INTO `video_jobs` (`job_id`, `user_id`, `subject`, `language`, `status`, `progress`, `video_path`, `created_at`, `updated_at`, `completed_at`, `error_message`) VALUES
('05b73826-078e-4a8d-a0cd-70ebad6d6a8c', 60, 'Introduction to the human immune system', 'English', 'completed', 100, NULL, '2025-07-21 06:24:33', '2025-07-21 06:25:45', '2025-07-21 06:25:45', 'Preparing video generation'),
('07e9e3b6-be56-4515-8da5-559596da3481', 60, 'Introduction to the human immune system', 'English', 'completed', 100, NULL, '2025-07-21 05:30:20', '2025-07-21 05:30:43', '2025-07-21 05:30:43', 'Preparing video generation'),
('08cc7c6e-89a8-4da7-ac77-9f8450c964b6', 60, 'explainme A,B,C,D From A To Z interractively for small children', 'Nepali', 'completed', 100, NULL, '2025-07-22 09:08:07', '2025-07-22 09:15:48', '2025-07-22 09:15:48', 'Preparing video generation'),
('0bad7b19-14d1-4e28-bf67-5249902dbe53', 60, 'hey i wanna video on webdevelopment: teach me what is web development and what are the factors should i consider when developing a website. what programming languages, what are the functions of html, css and js. what are the parts in website like sections of it like body, navigation pannel and lower pannel and add more details on website design and interface which i forgot to mention here.', 'English', 'completed', 100, 'podcast_video_20250719_215329.mp4', '2025-07-19 16:03:55', '2025-07-19 16:18:55', '2025-07-19 16:18:55', 'Preparing video generation'),
('0d7a4d0f-b9ad-4adf-8b2e-5ada7089683c', 60, 'Generate a video about Hi hello ', 'English', 'completed', 100, NULL, '2025-09-18 01:32:58', '2025-09-18 01:40:56', '2025-09-18 01:40:56', 'Preparing video generation'),
('0db68ac1-8382-4d87-8941-4d33f747ec40', 60, 'Introduction to the human immune system', 'English', 'completed', 100, NULL, '2025-07-21 06:15:13', '2025-07-21 06:15:21', '2025-07-21 06:15:21', 'Preparing video generation'),
('1169fa8e-c9cf-4a58-8d00-6b7593c0e32a', 60, 'hey i wanna video on webdevelopment: teach me what is web development and what are the factors should i consider when developing a website. what programming languages, what are the functions of html, css and js. what are the parts in website like sections of it like body, navigation pannel and lower pannel and add more details on website design and interface which i forgot to mention here.', 'English', 'completed', 100, NULL, '2025-07-19 17:39:19', '2025-07-19 17:40:01', '2025-07-19 17:40:01', 'Preparing video generation'),
('11db47bc-37b6-40e6-9f72-d35eae64f582', 60, 'The water cycle explained', 'English', 'processing', 5, NULL, '2025-07-21 05:47:01', '2025-07-21 05:47:01', NULL, 'Generating podcast data'),
('12f456f4-2600-4286-ad3a-de7331daef24', 60, 'Introduction to the human immune system', 'English', 'processing', 5, NULL, '2025-07-21 06:23:16', '2025-07-21 06:23:16', NULL, 'Generating podcast data'),
('13930589-9cab-49dd-bea8-dc7e14842d26', 60, 'Explain me about Royal masscre in Nepal', 'Nepali', 'processing', 5, NULL, '2025-07-21 10:59:20', '2025-07-21 10:59:20', NULL, 'Generating podcast data'),
('15899032-940d-4a80-a726-261f7f50f513', 60, 'Explain Me the latest saiyara hindi movie', 'English', 'processing', 5, NULL, '2025-07-22 04:13:25', '2025-07-22 04:13:25', NULL, 'Generating podcast data'),
('170a63c9-7d46-414a-b263-61ddeb771733', 60, 'Introduction to the human immune system', 'English', 'processing', 5, NULL, '2025-07-21 06:18:05', '2025-07-21 06:18:05', NULL, 'Generating podcast data'),
('17228508-3a5a-4fce-9545-921ef3fd3a5d', 60, 'Introduction to the human immune system', 'English', 'completed', 100, NULL, '2025-07-21 05:59:20', '2025-07-21 06:00:17', '2025-07-21 06:00:17', 'Preparing video generation'),
('1926dd28-c2ae-46d6-ac7c-330069ed9728', 60, 'Introduction to the human immune system', 'English', 'processing', 10, NULL, '2025-07-21 06:18:59', '2025-07-21 06:19:03', NULL, 'Preparing video generation'),
('1a88a53d-e9bf-4438-9133-29b3190a4107', 60, 'How does photosynthesis work?', 'English', 'processing', 5, NULL, '2025-07-21 06:21:15', '2025-07-21 06:21:15', NULL, 'Generating podcast data'),
('1f80ae88-94af-40f8-893c-7b2d7e5bc225', 60, 'Introduction to the human immune system', 'English', 'completed', 100, NULL, '2025-07-21 05:47:51', '2025-07-21 05:49:07', '2025-07-21 05:49:07', 'Preparing video generation'),
('1ff2da5f-aaf2-45b2-9e1d-a423db2a02fa', 60, 'hey i wanna video on webdevelopment: teach me what is web development and what are the factors should i consider when developing a website. what programming languages, what are the functions of html, css and js. what are the parts in website like sections of it like body, navigation pannel and lower pannel and add more details on website design and interface which i forgot to mention here.', 'English', 'completed', 100, 'podcast_video_20250719_225822.mp4', '2025-07-19 17:04:44', '2025-07-19 17:22:14', '2025-07-19 17:22:14', 'Preparing video generation'),
('234c4ca1-c049-44ce-b204-06ed391aa142', 60, 'Explain me this story in brief : Title: Dreams and Struggles A heartfelt tale of resilience, dreams, and unwavering determination from a rural village girl in Nepal. ????? Characters: Sita – A brave, 18-year-old girl from a village with big dreams of becoming a doctor. Anil – Her childhood friend and silent supporter, kind-hearted and loyal. Maya – Sita\'s mother, a hardworking, practical woman torn between love and reality. Hari – Sita’s father, emotionally distant but works hard to support the family. Priya – Sita’s best friend from the same village (a minor character). ? Long Summary & Deep Explanation Scene 1: The Village and Sita’s Dream The story opens in a picturesque village nestled in the hills of Nepal. We’re introduced to Sita, a young village girl standing near a field, her eyes gazing into the distance. Though surrounded by poverty and hardship, her heart is full of hope. In a deeply introspective moment, she wonders if someone from such a background can ever truly achieve their dreams. ? Key Insight: This scene sets the emotional and thematic tone. Sita represents countless young people who dare to dream beyond their circumstances. The vast, open landscape symbolizes her limitless ambitions. Scene 2: A Conversation with Maya (Her Mother) Sita expresses her desire to attend medical college—not with anyone\'s help, but through her own hard work. She’s determined to escape the cycle of poverty and the predictable life of a rural girl. Maya, her mother, supports her daughter emotionally but reminds her of their harsh reality: they can barely afford food, let alone college tuition. ? Key Insight: This exchange reflects a common generational and emotional conflict: the dreams of the young versus the fears and limitations of the old. Maya’s concern is real, but so is Sita’s hunger to succeed. Scene 3: Sita’s Love for Anil At a peaceful riverbank, Anil and Sita share a heartfelt moment. Anil worries about the painful journey ahead. But Sita, tears in her eyes, declares she’s ready to struggle—as long as Anil stays beside her. She doesn’t want to be trapped in the village; her dreams are bigger, and she needs someone who believes in her. Anil pledges his full support, expressing that Sita is his inspiration. ? Key Insight: This scene shows how emotional support and love can empower someone to keep fighting. It’s not a love story in the traditional sense but an emotional bond forged through mutual respect and shared hope. Scene 4: The Struggle Begins Now begins the real struggle. Sita works tirelessly in the fields during the day and studies late into the night under a dim lantern. Despite the exhaustion, she doesn’t lose focus. Her spirit remains unbroken. ? Key Insight: This symbolizes the dual burden many young dreamers carry: helping their families survive while building a future for themselves. Her lantern-lit nights show silent perseverance in the face of overwhelming odds. Scene 5: A Heartbreaking Loss Tragedy strikes. Hari, Sita’s father, suffers a fatal accident while working. The family rushes to the hospital, but he doesn’t survive. The emotional weight collapses on Sita, who sobs in Anil’s arms, feeling the injustice of their unending hardship. Her mother, though broken, urges Sita not to give up. They must survive this pain and fulfill Hari’s dream, too. ? Key Insight: This pivotal moment turns Sita’s journey into something even deeper. Her dream is no longer just personal—it becomes a tribute to her father’s sacrifices and her family’s struggle. Scene 6: Sita’s Strength Despite the tragedy, Sita doesn’t falter. She becomes stronger, more focused, and more determined. Her nights are still filled with study, but now there\'s even more fire in her heart. Anil sees her burning determination and calls her a true hero. Sita replies that she must do this not only for her parents but also to honor her own worth. ? Key Insight: This scene shows the transformation from grief into growth. Sita is no longer just chasing a dream; she’s rising beyond loss. Her strength is internal, matured through pain and powered by vision. Scene 7: The Final Victory After months of tireless struggle, the moment arrives. Sita receives an acceptance letter to a medical college in Kathmandu. Her hands tremble, tears stream, and joy fills her soul. She hugs her mother and Anil, proudly declaring her success is the fruit of her relentless effort. Maya, crying tears of pride, says, \"This is our victory, Sita.\" The final scene shows Sita holding the letter, with the sunset behind her—a symbol of one journey ending and a new one beginning. Sita\'s voice echoes in a powerful voiceover: \"I knew I had to struggle to fulfill my dream. It made me stronger. Now, I know I can keep going forward.\" ? Key Insight: This ending is not just about getting into college—it’s about victory over circumstance. It’s a quiet, dignified triumph, showing how hope, love, and hard work can overcome even the deepest poverty and heartbreak. ? Themes & Lessons Resilience & Hope – Sita’s belief in herself, despite all odds, is the soul of the story. The Power of Dreams – Ambition isn\'t just a privilege of the rich. Even a village girl can dream—and win. Family & Loss – Pain from losing a loved one can break us—or make us. Support Systems – Anil’s steady support and Maya’s reluctant encouragement reflect the importance of emotional anchors. Realistic Struggles – The story avoids romanticizing poverty. It shows the raw, painful realities—but with light at the end. ? Final Reflection “Dreams and Struggles” is more than just a coming-of-age story. It’s a heartfelt portrayal of a Nepali girl\'s fight against destiny, a reminder that the human spirit can endure immense hardship if fueled by purpose. It doesn\'t offer fairy tale solutions, but it offers hope—honest, earned, and inspiring. It reminds us that greatness doesn’t need privilege—it only needs courage, consistency, and belief.', 'Nepali', 'completed', 100, NULL, '2025-07-22 02:51:03', '2025-07-22 02:51:50', '2025-07-22 02:51:50', 'Preparing video generation'),
('24ee322f-273b-47fc-9370-ce2b25b7f568', 60, 'Introduction to the human immune system', 'English', 'processing', 5, NULL, '2025-07-21 03:59:27', '2025-07-21 03:59:27', NULL, 'Generating podcast data'),
('28d46900-ecee-45d4-9ad0-4b333c9e4a3c', 60, 'hey i wanna video on webdevelopment: teach me what is web development and what are the factors should i consider when developing a website. what programming languages, what are the functions of html, css and js. what are the parts in website like sections of it like body, navigation pannel and lower pannel and add more details on website design and interface which i forgot to mention here.', 'Hindi', 'completed', 100, 'podcast_video_20250719_213113.mp4', '2025-07-19 15:39:33', '2025-07-19 15:53:19', '2025-07-19 15:53:19', 'Preparing video generation'),
('2bfbe099-b292-4029-89db-dd54b642b1d2', 60, 'Explain me How human Eye works in short', 'Hindi', 'completed', 100, 'podcast_video_20250720_001455.mp4', '2025-07-19 18:26:38', '2025-07-19 18:33:20', '2025-07-19 18:33:20', 'Preparing video generation'),
('2d5ddf4f-fdd4-4562-bcbb-b77a33fe64d5', 60, 'Explain me How human ear works in short', 'Hindi', 'completed', 100, 'podcast_video_20250719_235423.mp4', '2025-07-19 18:06:35', '2025-07-19 18:17:22', '2025-07-19 18:17:22', 'Preparing video generation'),
('2ef3cf27-b0db-43e1-b571-67c7b83f37a0', 60, 'Introduction to the human immune system', 'English', 'completed', 100, NULL, '2025-07-21 06:12:42', '2025-07-21 06:13:59', '2025-07-21 06:13:59', 'Preparing video generation'),
('316a16eb-94e2-4967-ba7f-48f65f6553b3', 60, 'Explain me about Royal masscre in Nepal', 'English', 'processing', 5, NULL, '2025-07-21 11:18:58', '2025-07-21 11:18:58', NULL, 'Generating podcast data'),
('3525e8b3-5767-4795-a3db-5864a79ed19b', 60, 'Introduction to the human immune system', 'English', 'completed', 100, 'podcast_video_20250721_121932.mp4', '2025-07-21 06:27:18', '2025-07-21 06:41:04', '2025-07-21 06:41:04', 'Preparing video generation'),
('3767ed49-85c5-418b-90dc-4cfeb9692b1b', 60, 'Explain me about Royal masscre in Nepal', 'Nepali', 'completed', 100, NULL, '2025-07-21 10:48:47', '2025-07-21 10:50:56', '2025-07-21 10:50:56', 'Preparing video generation'),
('38d38cc7-416a-4fff-90f6-86b54825e0c9', 60, 'Explain me this story in brief : Title: Dreams and Struggles A heartfelt tale of resilience, dreams, and unwavering determination from a rural village girl in Nepal. ????? Characters: Sita – A brave, 18-year-old girl from a village with big dreams of becoming a doctor. Anil – Her childhood friend and silent supporter, kind-hearted and loyal. Maya – Sita\'s mother, a hardworking, practical woman torn between love and reality. Hari – Sita’s father, emotionally distant but works hard to support the family. Priya – Sita’s best friend from the same village (a minor character). ? Long Summary & Deep Explanation Scene 1: The Village and Sita’s Dream The story opens in a picturesque village nestled in the hills of Nepal. We’re introduced to Sita, a young village girl standing near a field, her eyes gazing into the distance. Though surrounded by poverty and hardship, her heart is full of hope. In a deeply introspective moment, she wonders if someone from such a background can ever truly achieve their dreams. ? Key Insight: This scene sets the emotional and thematic tone. Sita represents countless young people who dare to dream beyond their circumstances. The vast, open landscape symbolizes her limitless ambitions. Scene 2: A Conversation with Maya (Her Mother) Sita expresses her desire to attend medical college—not with anyone\'s help, but through her own hard work. She’s determined to escape the cycle of poverty and the predictable life of a rural girl. Maya, her mother, supports her daughter emotionally but reminds her of their harsh reality: they can barely afford food, let alone college tuition. ? Key Insight: This exchange reflects a common generational and emotional conflict: the dreams of the young versus the fears and limitations of the old. Maya’s concern is real, but so is Sita’s hunger to succeed. Scene 3: Sita’s Love for Anil At a peaceful riverbank, Anil and Sita share a heartfelt moment. Anil worries about the painful journey ahead. But Sita, tears in her eyes, declares she’s ready to struggle—as long as Anil stays beside her. She doesn’t want to be trapped in the village; her dreams are bigger, and she needs someone who believes in her. Anil pledges his full support, expressing that Sita is his inspiration. ? Key Insight: This scene shows how emotional support and love can empower someone to keep fighting. It’s not a love story in the traditional sense but an emotional bond forged through mutual respect and shared hope. Scene 4: The Struggle Begins Now begins the real struggle. Sita works tirelessly in the fields during the day and studies late into the night under a dim lantern. Despite the exhaustion, she doesn’t lose focus. Her spirit remains unbroken. ? Key Insight: This symbolizes the dual burden many young dreamers carry: helping their families survive while building a future for themselves. Her lantern-lit nights show silent perseverance in the face of overwhelming odds. Scene 5: A Heartbreaking Loss Tragedy strikes. Hari, Sita’s father, suffers a fatal accident while working. The family rushes to the hospital, but he doesn’t survive. The emotional weight collapses on Sita, who sobs in Anil’s arms, feeling the injustice of their unending hardship. Her mother, though broken, urges Sita not to give up. They must survive this pain and fulfill Hari’s dream, too. ? Key Insight: This pivotal moment turns Sita’s journey into something even deeper. Her dream is no longer just personal—it becomes a tribute to her father’s sacrifices and her family’s struggle. Scene 6: Sita’s Strength Despite the tragedy, Sita doesn’t falter. She becomes stronger, more focused, and more determined. Her nights are still filled with study, but now there\'s even more fire in her heart. Anil sees her burning determination and calls her a true hero. Sita replies that she must do this not only for her parents but also to honor her own worth. ? Key Insight: This scene shows the transformation from grief into growth. Sita is no longer just chasing a dream; she’s rising beyond loss. Her strength is internal, matured through pain and powered by vision. Scene 7: The Final Victory After months of tireless struggle, the moment arrives. Sita receives an acceptance letter to a medical college in Kathmandu. Her hands tremble, tears stream, and joy fills her soul. She hugs her mother and Anil, proudly declaring her success is the fruit of her relentless effort. Maya, crying tears of pride, says, \"This is our victory, Sita.\" The final scene shows Sita holding the letter, with the sunset behind her—a symbol of one journey ending and a new one beginning. Sita\'s voice echoes in a powerful voiceover: \"I knew I had to struggle to fulfill my dream. It made me stronger. Now, I know I can keep going forward.\" ? Key Insight: This ending is not just about getting into college—it’s about victory over circumstance. It’s a quiet, dignified triumph, showing how hope, love, and hard work can overcome even the deepest poverty and heartbreak. ? Themes & Lessons Resilience & Hope – Sita’s belief in herself, despite all odds, is the soul of the story. The Power of Dreams – Ambition isn\'t just a privilege of the rich. Even a village girl can dream—and win. Family & Loss – Pain from losing a loved one can break us—or make us. Support Systems – Anil’s steady support and Maya’s reluctant encouragement reflect the importance of emotional anchors. Realistic Struggles – The story avoids romanticizing poverty. It shows the raw, painful realities—but with light at the end. ? Final Reflection “Dreams and Struggles” is more than just a coming-of-age story. It’s a heartfelt portrayal of a Nepali girl\'s fight against destiny, a reminder that the human spirit can endure immense hardship if fueled by purpose. It doesn\'t offer fairy tale solutions, but it offers hope—honest, earned, and inspiring. It reminds us that greatness doesn’t need privilege—it only needs courage, consistency, and belief.', 'Nepali', 'completed', 100, NULL, '2025-07-22 03:15:06', '2025-07-22 03:15:12', '2025-07-22 03:15:12', 'Preparing video generation'),
('3959fd56-2f71-4036-a0b7-057289a97d8e', 60, 'Introduction to the human immune system', 'English', 'completed', 100, NULL, '2025-07-21 05:56:59', '2025-07-21 05:58:10', '2025-07-21 05:58:10', 'Preparing video generation'),
('40dfbc4e-09fc-488b-a0fb-13a9c2210a15', 60, 'Introduction to the human immune system', 'English', 'processing', 5, NULL, '2025-07-21 06:04:41', '2025-07-21 06:04:41', NULL, 'Generating podcast data'),
('45e1a5d8-2796-48ac-b66d-402016d8024c', 60, 'Explain Me the latest saiyara hindi movie', 'Hindi', 'completed', 100, NULL, '2025-07-22 03:54:53', '2025-07-22 03:57:58', '2025-07-22 03:57:58', 'Preparing video generation'),
('462be9ca-a43a-4e38-9750-7cb0cf96b48f', 60, 'Explain me about Royal masscre in Nepal', 'Nepali', 'processing', 10, NULL, '2025-07-21 10:42:37', '2025-07-21 10:42:50', NULL, 'Preparing video generation'),
('4da2c1f7-64d9-4f12-9f22-e5eb2ee17b28', 60, 'Explain me this story in brief : Title: Dreams and Struggles A heartfelt tale of resilience, dreams, and unwavering determination from a rural village girl in Nepal. ????? Characters: Sita – A brave, 18-year-old girl from a village with big dreams of becoming a doctor. Anil – Her childhood friend and silent supporter, kind-hearted and loyal. Maya – Sita\'s mother, a hardworking, practical woman torn between love and reality. Hari – Sita’s father, emotionally distant but works hard to support the family. Priya – Sita’s best friend from the same village (a minor character). ? Long Summary & Deep Explanation Scene 1: The Village and Sita’s Dream The story opens in a picturesque village nestled in the hills of Nepal. We’re introduced to Sita, a young village girl standing near a field, her eyes gazing into the distance. Though surrounded by poverty and hardship, her heart is full of hope. In a deeply introspective moment, she wonders if someone from such a background can ever truly achieve their dreams. ? Key Insight: This scene sets the emotional and thematic tone. Sita represents countless young people who dare to dream beyond their circumstances. The vast, open landscape symbolizes her limitless ambitions. Scene 2: A Conversation with Maya (Her Mother) Sita expresses her desire to attend medical college—not with anyone\'s help, but through her own hard work. She’s determined to escape the cycle of poverty and the predictable life of a rural girl. Maya, her mother, supports her daughter emotionally but reminds her of their harsh reality: they can barely afford food, let alone college tuition. ? Key Insight: This exchange reflects a common generational and emotional conflict: the dreams of the young versus the fears and limitations of the old. Maya’s concern is real, but so is Sita’s hunger to succeed. Scene 3: Sita’s Love for Anil At a peaceful riverbank, Anil and Sita share a heartfelt moment. Anil worries about the painful journey ahead. But Sita, tears in her eyes, declares she’s ready to struggle—as long as Anil stays beside her. She doesn’t want to be trapped in the village; her dreams are bigger, and she needs someone who believes in her. Anil pledges his full support, expressing that Sita is his inspiration. ? Key Insight: This scene shows how emotional support and love can empower someone to keep fighting. It’s not a love story in the traditional sense but an emotional bond forged through mutual respect and shared hope. Scene 4: The Struggle Begins Now begins the real struggle. Sita works tirelessly in the fields during the day and studies late into the night under a dim lantern. Despite the exhaustion, she doesn’t lose focus. Her spirit remains unbroken. ? Key Insight: This symbolizes the dual burden many young dreamers carry: helping their families survive while building a future for themselves. Her lantern-lit nights show silent perseverance in the face of overwhelming odds. Scene 5: A Heartbreaking Loss Tragedy strikes. Hari, Sita’s father, suffers a fatal accident while working. The family rushes to the hospital, but he doesn’t survive. The emotional weight collapses on Sita, who sobs in Anil’s arms, feeling the injustice of their unending hardship. Her mother, though broken, urges Sita not to give up. They must survive this pain and fulfill Hari’s dream, too. ? Key Insight: This pivotal moment turns Sita’s journey into something even deeper. Her dream is no longer just personal—it becomes a tribute to her father’s sacrifices and her family’s struggle. Scene 6: Sita’s Strength Despite the tragedy, Sita doesn’t falter. She becomes stronger, more focused, and more determined. Her nights are still filled with study, but now there\'s even more fire in her heart. Anil sees her burning determination and calls her a true hero. Sita replies that she must do this not only for her parents but also to honor her own worth. ? Key Insight: This scene shows the transformation from grief into growth. Sita is no longer just chasing a dream; she’s rising beyond loss. Her strength is internal, matured through pain and powered by vision. Scene 7: The Final Victory After months of tireless struggle, the moment arrives. Sita receives an acceptance letter to a medical college in Kathmandu. Her hands tremble, tears stream, and joy fills her soul. She hugs her mother and Anil, proudly declaring her success is the fruit of her relentless effort. Maya, crying tears of pride, says, \"This is our victory, Sita.\" The final scene shows Sita holding the letter, with the sunset behind her—a symbol of one journey ending and a new one beginning. Sita\'s voice echoes in a powerful voiceover: \"I knew I had to struggle to fulfill my dream. It made me stronger. Now, I know I can keep going forward.\" ? Key Insight: This ending is not just about getting into college—it’s about victory over circumstance. It’s a quiet, dignified triumph, showing how hope, love, and hard work can overcome even the deepest poverty and heartbreak. ? Themes & Lessons Resilience & Hope – Sita’s belief in herself, despite all odds, is the soul of the story. The Power of Dreams – Ambition isn\'t just a privilege of the rich. Even a village girl can dream—and win. Family & Loss – Pain from losing a loved one can break us—or make us. Support Systems – Anil’s steady support and Maya’s reluctant encouragement reflect the importance of emotional anchors. Realistic Struggles – The story avoids romanticizing poverty. It shows the raw, painful realities—but with light at the end. ? Final Reflection “Dreams and Struggles” is more than just a coming-of-age story. It’s a heartfelt portrayal of a Nepali girl\'s fight against destiny, a reminder that the human spirit can endure immense hardship if fueled by purpose. It doesn\'t offer fairy tale solutions, but it offers hope—honest, earned, and inspiring. It reminds us that greatness doesn’t need privilege—it only needs courage, consistency, and belief.', 'Nepali', 'completed', 100, 'podcast_video_20250722_092321.mp4', '2025-07-22 03:34:12', '2025-07-22 03:49:21', '2025-07-22 03:49:21', 'Preparing video generation'),
('504e8983-eca0-43e5-93e2-29d96e7f9861', 60, 'Explain me about Royal masscre in Nepal', 'English', 'processing', 5, NULL, '2025-07-21 11:17:49', '2025-07-21 11:17:49', NULL, 'Generating podcast data'),
('53d1f0e0-b859-41c3-8b52-48305f7c2778', 60, 'Introduction to the human immune system', 'English', 'completed', 100, NULL, '2025-07-21 05:34:11', '2025-07-21 05:34:24', '2025-07-21 05:34:24', 'Preparing video generation'),
('57146ca4-5512-4149-90e3-88ececc47657', 60, 'How does photosynthesis work?', 'English', 'processing', 10, NULL, '2025-08-12 05:08:46', '2025-08-12 05:08:59', NULL, 'Preparing video generation'),
('573edaf8-f646-4654-a877-99824c2714bb', 60, 'Explain me this story in brief : Title: Dreams and Struggles A heartfelt tale of resilience, dreams, and unwavering determination from a rural village girl in Nepal. ????? Characters: Sita – A brave, 18-year-old girl from a village with big dreams of becoming a doctor. Anil – Her childhood friend and silent supporter, kind-hearted and loyal. Maya – Sita\'s mother, a hardworking, practical woman torn between love and reality. Hari – Sita’s father, emotionally distant but works hard to support the family. Priya – Sita’s best friend from the same village (a minor character). ? Long Summary & Deep Explanation Scene 1: The Village and Sita’s Dream The story opens in a picturesque village nestled in the hills of Nepal. We’re introduced to Sita, a young village girl standing near a field, her eyes gazing into the distance. Though surrounded by poverty and hardship, her heart is full of hope. In a deeply introspective moment, she wonders if someone from such a background can ever truly achieve their dreams. ? Key Insight: This scene sets the emotional and thematic tone. Sita represents countless young people who dare to dream beyond their circumstances. The vast, open landscape symbolizes her limitless ambitions. Scene 2: A Conversation with Maya (Her Mother) Sita expresses her desire to attend medical college—not with anyone\'s help, but through her own hard work. She’s determined to escape the cycle of poverty and the predictable life of a rural girl. Maya, her mother, supports her daughter emotionally but reminds her of their harsh reality: they can barely afford food, let alone college tuition. ? Key Insight: This exchange reflects a common generational and emotional conflict: the dreams of the young versus the fears and limitations of the old. Maya’s concern is real, but so is Sita’s hunger to succeed. Scene 3: Sita’s Love for Anil At a peaceful riverbank, Anil and Sita share a heartfelt moment. Anil worries about the painful journey ahead. But Sita, tears in her eyes, declares she’s ready to struggle—as long as Anil stays beside her. She doesn’t want to be trapped in the village; her dreams are bigger, and she needs someone who believes in her. Anil pledges his full support, expressing that Sita is his inspiration. ? Key Insight: This scene shows how emotional support and love can empower someone to keep fighting. It’s not a love story in the traditional sense but an emotional bond forged through mutual respect and shared hope. Scene 4: The Struggle Begins Now begins the real struggle. Sita works tirelessly in the fields during the day and studies late into the night under a dim lantern. Despite the exhaustion, she doesn’t lose focus. Her spirit remains unbroken. ? Key Insight: This symbolizes the dual burden many young dreamers carry: helping their families survive while building a future for themselves. Her lantern-lit nights show silent perseverance in the face of overwhelming odds. Scene 5: A Heartbreaking Loss Tragedy strikes. Hari, Sita’s father, suffers a fatal accident while working. The family rushes to the hospital, but he doesn’t survive. The emotional weight collapses on Sita, who sobs in Anil’s arms, feeling the injustice of their unending hardship. Her mother, though broken, urges Sita not to give up. They must survive this pain and fulfill Hari’s dream, too. ? Key Insight: This pivotal moment turns Sita’s journey into something even deeper. Her dream is no longer just personal—it becomes a tribute to her father’s sacrifices and her family’s struggle. Scene 6: Sita’s Strength Despite the tragedy, Sita doesn’t falter. She becomes stronger, more focused, and more determined. Her nights are still filled with study, but now there\'s even more fire in her heart. Anil sees her burning determination and calls her a true hero. Sita replies that she must do this not only for her parents but also to honor her own worth. ? Key Insight: This scene shows the transformation from grief into growth. Sita is no longer just chasing a dream; she’s rising beyond loss. Her strength is internal, matured through pain and powered by vision. Scene 7: The Final Victory After months of tireless struggle, the moment arrives. Sita receives an acceptance letter to a medical college in Kathmandu. Her hands tremble, tears stream, and joy fills her soul. She hugs her mother and Anil, proudly declaring her success is the fruit of her relentless effort. Maya, crying tears of pride, says, \"This is our victory, Sita.\" The final scene shows Sita holding the letter, with the sunset behind her—a symbol of one journey ending and a new one beginning. Sita\'s voice echoes in a powerful voiceover: \"I knew I had to struggle to fulfill my dream. It made me stronger. Now, I know I can keep going forward.\" ? Key Insight: This ending is not just about getting into college—it’s about victory over circumstance. It’s a quiet, dignified triumph, showing how hope, love, and hard work can overcome even the deepest poverty and heartbreak. ? Themes & Lessons Resilience & Hope – Sita’s belief in herself, despite all odds, is the soul of the story. The Power of Dreams – Ambition isn\'t just a privilege of the rich. Even a village girl can dream—and win. Family & Loss – Pain from losing a loved one can break us—or make us. Support Systems – Anil’s steady support and Maya’s reluctant encouragement reflect the importance of emotional anchors. Realistic Struggles – The story avoids romanticizing poverty. It shows the raw, painful realities—but with light at the end. ? Final Reflection “Dreams and Struggles” is more than just a coming-of-age story. It’s a heartfelt portrayal of a Nepali girl\'s fight against destiny, a reminder that the human spirit can endure immense hardship if fueled by purpose. It doesn\'t offer fairy tale solutions, but it offers hope—honest, earned, and inspiring. It reminds us that greatness doesn’t need privilege—it only needs courage, consistency, and belief.', 'Nepali', 'completed', 100, NULL, '2025-07-22 03:22:26', '2025-07-22 03:25:14', '2025-07-22 03:25:14', 'Preparing video generation'),
('5ded2e46-7cd0-46e5-a283-98652911b2fd', 60, 'hey i wanna video on webdevelopment: teach me what is web development and what are the factors should i consider when developing a website. what programming languages, what are the functions of html, css and js. what are the parts in website like sections of it like body, navigation pannel and lower pannel and add more details on website design and interface which i forgot to mention here.', 'English', 'completed', 100, NULL, '2025-07-19 17:36:22', '2025-07-19 17:38:05', '2025-07-19 17:38:05', 'Preparing video generation'),
('6429fd16-20e8-402e-9c66-075ce88e001e', 60, 'Explain me about Royal masscre in Nepal', 'English', 'processing', 5, NULL, '2025-07-21 11:14:39', '2025-07-21 11:14:39', NULL, 'Generating podcast data'),
('68ba666a-94b9-4011-b9cc-fe6231c21249', 60, 'hey i wanna video on webdevelopment: teach me what is web development and what are the factors should i consider when developing a website. what programming languages, what are the functions of html, css and js. what are the parts in website like sections of it like body, navigation pannel and lower pannel and add more details on website design and interface which i forgot to mention here.', 'English', 'completed', 100, 'podcast_video_20250719_233522.mp4', '2025-07-19 17:45:10', '2025-07-19 17:59:00', '2025-07-19 17:59:00', 'Preparing video generation'),
('68d8b216-0d00-42ef-93bd-30de5cf5bfa1', 60, 'Explain me this story in brief : Title: Dreams and Struggles A heartfelt tale of resilience, dreams, and unwavering determination from a rural village girl in Nepal. ????? Characters: Sita – A brave, 18-year-old girl from a village with big dreams of becoming a doctor. Anil – Her childhood friend and silent supporter, kind-hearted and loyal. Maya – Sita\'s mother, a hardworking, practical woman torn between love and reality. Hari – Sita’s father, emotionally distant but works hard to support the family. Priya – Sita’s best friend from the same village (a minor character). ? Long Summary & Deep Explanation Scene 1: The Village and Sita’s Dream The story opens in a picturesque village nestled in the hills of Nepal. We’re introduced to Sita, a young village girl standing near a field, her eyes gazing into the distance. Though surrounded by poverty and hardship, her heart is full of hope. In a deeply introspective moment, she wonders if someone from such a background can ever truly achieve their dreams. ? Key Insight: This scene sets the emotional and thematic tone. Sita represents countless young people who dare to dream beyond their circumstances. The vast, open landscape symbolizes her limitless ambitions. Scene 2: A Conversation with Maya (Her Mother) Sita expresses her desire to attend medical college—not with anyone\'s help, but through her own hard work. She’s determined to escape the cycle of poverty and the predictable life of a rural girl. Maya, her mother, supports her daughter emotionally but reminds her of their harsh reality: they can barely afford food, let alone college tuition. ? Key Insight: This exchange reflects a common generational and emotional conflict: the dreams of the young versus the fears and limitations of the old. Maya’s concern is real, but so is Sita’s hunger to succeed. Scene 3: Sita’s Love for Anil At a peaceful riverbank, Anil and Sita share a heartfelt moment. Anil worries about the painful journey ahead. But Sita, tears in her eyes, declares she’s ready to struggle—as long as Anil stays beside her. She doesn’t want to be trapped in the village; her dreams are bigger, and she needs someone who believes in her. Anil pledges his full support, expressing that Sita is his inspiration. ? Key Insight: This scene shows how emotional support and love can empower someone to keep fighting. It’s not a love story in the traditional sense but an emotional bond forged through mutual respect and shared hope. Scene 4: The Struggle Begins Now begins the real struggle. Sita works tirelessly in the fields during the day and studies late into the night under a dim lantern. Despite the exhaustion, she doesn’t lose focus. Her spirit remains unbroken. ? Key Insight: This symbolizes the dual burden many young dreamers carry: helping their families survive while building a future for themselves. Her lantern-lit nights show silent perseverance in the face of overwhelming odds. Scene 5: A Heartbreaking Loss Tragedy strikes. Hari, Sita’s father, suffers a fatal accident while working. The family rushes to the hospital, but he doesn’t survive. The emotional weight collapses on Sita, who sobs in Anil’s arms, feeling the injustice of their unending hardship. Her mother, though broken, urges Sita not to give up. They must survive this pain and fulfill Hari’s dream, too. ? Key Insight: This pivotal moment turns Sita’s journey into something even deeper. Her dream is no longer just personal—it becomes a tribute to her father’s sacrifices and her family’s struggle. Scene 6: Sita’s Strength Despite the tragedy, Sita doesn’t falter. She becomes stronger, more focused, and more determined. Her nights are still filled with study, but now there\'s even more fire in her heart. Anil sees her burning determination and calls her a true hero. Sita replies that she must do this not only for her parents but also to honor her own worth. ? Key Insight: This scene shows the transformation from grief into growth. Sita is no longer just chasing a dream; she’s rising beyond loss. Her strength is internal, matured through pain and powered by vision. Scene 7: The Final Victory After months of tireless struggle, the moment arrives. Sita receives an acceptance letter to a medical college in Kathmandu. Her hands tremble, tears stream, and joy fills her soul. She hugs her mother and Anil, proudly declaring her success is the fruit of her relentless effort. Maya, crying tears of pride, says, \"This is our victory, Sita.\" The final scene shows Sita holding the letter, with the sunset behind her—a symbol of one journey ending and a new one beginning. Sita\'s voice echoes in a powerful voiceover: \"I knew I had to struggle to fulfill my dream. It made me stronger. Now, I know I can keep going forward.\" ? Key Insight: This ending is not just about getting into college—it’s about victory over circumstance. It’s a quiet, dignified triumph, showing how hope, love, and hard work can overcome even the deepest poverty and heartbreak. ? Themes & Lessons Resilience & Hope – Sita’s belief in herself, despite all odds, is the soul of the story. The Power of Dreams – Ambition isn\'t just a privilege of the rich. Even a village girl can dream—and win. Family & Loss – Pain from losing a loved one can break us—or make us. Support Systems – Anil’s steady support and Maya’s reluctant encouragement reflect the importance of emotional anchors. Realistic Struggles – The story avoids romanticizing poverty. It shows the raw, painful realities—but with light at the end. ? Final Reflection “Dreams and Struggles” is more than just a coming-of-age story. It’s a heartfelt portrayal of a Nepali girl\'s fight against destiny, a reminder that the human spirit can endure immense hardship if fueled by purpose. It doesn\'t offer fairy tale solutions, but it offers hope—honest, earned, and inspiring. It reminds us that greatness doesn’t need privilege—it only needs courage, consistency, and belief.', 'Nepali', 'processing', 10, NULL, '2025-07-22 03:27:20', '2025-07-22 03:27:31', NULL, 'Preparing video generation'),
('6b97b3f6-17b8-469a-b83b-ebcb0ab787d9', 60, 'How does photosynthesis work?', 'English', 'processing', 5, NULL, '2025-07-21 05:26:53', '2025-07-21 05:26:53', NULL, 'Generating podcast data'),
('6c5b16ca-0191-4a7d-b508-16bbd7c5171d', 60, 'Explain me about Royal masscre in Nepal', 'English', 'processing', 10, NULL, '2025-07-21 11:56:00', '2025-07-21 11:56:25', NULL, 'Preparing video generation'),
('72019acb-cc29-4914-85eb-035575a0c7e4', 60, 'Explain me about Royal masscre in Nepal', 'Nepali', 'completed', 100, NULL, '2025-07-21 11:05:08', '2025-07-21 11:07:02', '2025-07-21 11:07:02', 'Preparing video generation'),
('73f72840-2296-4d69-9096-f2bf1b20b5e3', 60, 'Explain me about Royal masscre in Nepal', 'Nepali', 'completed', 100, NULL, '2025-07-21 11:07:51', '2025-07-21 11:09:22', '2025-07-21 11:09:22', 'Preparing video generation'),
('7a0f09aa-d7c7-4d56-80c8-8e2f6e34d7e8', 60, 'Explain me about Royal masscre in Nepal', 'Nepali', 'completed', 100, NULL, '2025-07-21 10:56:14', '2025-07-21 10:58:15', '2025-07-21 10:58:15', 'Preparing video generation'),
('7b2633a2-a37b-4efd-976d-cd413d8ab2f1', 60, 'Explain me about Royal masscre in Nepal', 'Nepali', 'completed', 100, NULL, '2025-07-21 10:35:08', '2025-07-21 10:37:12', '2025-07-21 10:37:12', 'Preparing video generation'),
('801614b2-238e-4d1e-ac00-5042d12bc8a0', 60, 'Explain me how ai models neural networks are made and works', 'Hindi', 'completed', 100, NULL, '2025-07-19 14:55:30', '2025-07-19 14:56:54', '2025-07-19 14:56:54', 'Preparing video generation'),
('83e13556-1070-4a9f-af38-69ac8f97b2c1', 60, 'Explain Me the latest saiyara hindi movie', 'English', 'completed', 100, 'podcast_video_20250722_103455.mp4', '2025-07-22 04:44:37', '2025-07-22 04:57:02', '2025-07-22 04:57:02', 'Preparing video generation'),
('8b85ff22-19a3-41e7-a9b7-c8e4485fe5c4', 60, 'explainme A,B,C,D From A To Z interractively for small children', 'Nepali', 'processing', 10, NULL, '2025-07-22 09:04:39', '2025-07-22 09:05:00', NULL, 'Preparing video generation'),
('905403f6-6899-4a0b-8d81-508cc8ee410e', 60, 'How does photosynthesis work?', 'English', 'completed', 100, NULL, '2025-07-21 03:54:33', '2025-07-21 03:54:54', '2025-07-21 03:54:54', 'Preparing video generation'),
('91965888-a558-4aac-9890-651a4e77c24c', 60, 'Explain me about Royal masscre in Nepal', 'Nepali', 'completed', 100, NULL, '2025-07-21 11:00:23', '2025-07-21 11:02:20', '2025-07-21 11:02:20', 'Preparing video generation'),
('9a923c02-2dd8-4f50-842a-037edce0d4b6', 60, 'Explain me about Royal masscre in Nepal', 'English', 'processing', 10, NULL, '2025-07-21 11:23:59', '2025-07-21 11:24:19', NULL, 'Preparing video generation'),
('9b805512-fafc-4603-9a63-4bec8df77e21', 60, 'Explain Me the latest saiyara hindi movie', 'Hindi', 'processing', 10, NULL, '2025-07-22 04:03:43', '2025-07-22 04:03:52', NULL, 'Preparing video generation'),
('9f54d896-dedc-4462-88aa-d0b6c12f2a96', 60, 'Introduction to the human immune system', 'English', 'completed', 100, NULL, '2025-07-21 06:01:52', '2025-07-21 06:03:44', '2025-07-21 06:03:44', 'Preparing video generation'),
('a1a9cb38-8636-4518-8634-418fc0cb2f1f', 60, 'Explain me this story in brief : Title: Dreams and Struggles A heartfelt tale of resilience, dreams, and unwavering determination from a rural village girl in Nepal. ????? Characters: Sita – A brave, 18-year-old girl from a village with big dreams of becoming a doctor. Anil – Her childhood friend and silent supporter, kind-hearted and loyal. Maya – Sita\'s mother, a hardworking, practical woman torn between love and reality. Hari – Sita’s father, emotionally distant but works hard to support the family. Priya – Sita’s best friend from the same village (a minor character). ? Long Summary & Deep Explanation Scene 1: The Village and Sita’s Dream The story opens in a picturesque village nestled in the hills of Nepal. We’re introduced to Sita, a young village girl standing near a field, her eyes gazing into the distance. Though surrounded by poverty and hardship, her heart is full of hope. In a deeply introspective moment, she wonders if someone from such a background can ever truly achieve their dreams. ? Key Insight: This scene sets the emotional and thematic tone. Sita represents countless young people who dare to dream beyond their circumstances. The vast, open landscape symbolizes her limitless ambitions. Scene 2: A Conversation with Maya (Her Mother) Sita expresses her desire to attend medical college—not with anyone\'s help, but through her own hard work. She’s determined to escape the cycle of poverty and the predictable life of a rural girl. Maya, her mother, supports her daughter emotionally but reminds her of their harsh reality: they can barely afford food, let alone college tuition. ? Key Insight: This exchange reflects a common generational and emotional conflict: the dreams of the young versus the fears and limitations of the old. Maya’s concern is real, but so is Sita’s hunger to succeed. Scene 3: Sita’s Love for Anil At a peaceful riverbank, Anil and Sita share a heartfelt moment. Anil worries about the painful journey ahead. But Sita, tears in her eyes, declares she’s ready to struggle—as long as Anil stays beside her. She doesn’t want to be trapped in the village; her dreams are bigger, and she needs someone who believes in her. Anil pledges his full support, expressing that Sita is his inspiration. ? Key Insight: This scene shows how emotional support and love can empower someone to keep fighting. It’s not a love story in the traditional sense but an emotional bond forged through mutual respect and shared hope. Scene 4: The Struggle Begins Now begins the real struggle. Sita works tirelessly in the fields during the day and studies late into the night under a dim lantern. Despite the exhaustion, she doesn’t lose focus. Her spirit remains unbroken. ? Key Insight: This symbolizes the dual burden many young dreamers carry: helping their families survive while building a future for themselves. Her lantern-lit nights show silent perseverance in the face of overwhelming odds. Scene 5: A Heartbreaking Loss Tragedy strikes. Hari, Sita’s father, suffers a fatal accident while working. The family rushes to the hospital, but he doesn’t survive. The emotional weight collapses on Sita, who sobs in Anil’s arms, feeling the injustice of their unending hardship. Her mother, though broken, urges Sita not to give up. They must survive this pain and fulfill Hari’s dream, too. ? Key Insight: This pivotal moment turns Sita’s journey into something even deeper. Her dream is no longer just personal—it becomes a tribute to her father’s sacrifices and her family’s struggle. Scene 6: Sita’s Strength Despite the tragedy, Sita doesn’t falter. She becomes stronger, more focused, and more determined. Her nights are still filled with study, but now there\'s even more fire in her heart. Anil sees her burning determination and calls her a true hero. Sita replies that she must do this not only for her parents but also to honor her own worth. ? Key Insight: This scene shows the transformation from grief into growth. Sita is no longer just chasing a dream; she’s rising beyond loss. Her strength is internal, matured through pain and powered by vision. Scene 7: The Final Victory After months of tireless struggle, the moment arrives. Sita receives an acceptance letter to a medical college in Kathmandu. Her hands tremble, tears stream, and joy fills her soul. She hugs her mother and Anil, proudly declaring her success is the fruit of her relentless effort. Maya, crying tears of pride, says, \"This is our victory, Sita.\" The final scene shows Sita holding the letter, with the sunset behind her—a symbol of one journey ending and a new one beginning. Sita\'s voice echoes in a powerful voiceover: \"I knew I had to struggle to fulfill my dream. It made me stronger. Now, I know I can keep going forward.\" ? Key Insight: This ending is not just about getting into college—it’s about victory over circumstance. It’s a quiet, dignified triumph, showing how hope, love, and hard work can overcome even the deepest poverty and heartbreak. ? Themes & Lessons Resilience & Hope – Sita’s belief in herself, despite all odds, is the soul of the story. The Power of Dreams – Ambition isn\'t just a privilege of the rich. Even a village girl can dream—and win. Family & Loss – Pain from losing a loved one can break us—or make us. Support Systems – Anil’s steady support and Maya’s reluctant encouragement reflect the importance of emotional anchors. Realistic Struggles – The story avoids romanticizing poverty. It shows the raw, painful realities—but with light at the end. ? Final Reflection “Dreams and Struggles” is more than just a coming-of-age story. It’s a heartfelt portrayal of a Nepali girl\'s fight against destiny, a reminder that the human spirit can endure immense hardship if fueled by purpose. It doesn\'t offer fairy tale solutions, but it offers hope—honest, earned, and inspiring. It reminds us that greatness doesn’t need privilege—it only needs courage, consistency, and belief.', 'Nepali', 'completed', 100, NULL, '2025-07-22 03:19:15', '2025-07-22 03:20:30', '2025-07-22 03:20:30', 'Preparing video generation');
INSERT INTO `video_jobs` (`job_id`, `user_id`, `subject`, `language`, `status`, `progress`, `video_path`, `created_at`, `updated_at`, `completed_at`, `error_message`) VALUES
('ab976b00-887f-44df-b659-f5587fc5eb91', 60, 'Explain me this story in brief : Title: Dreams and Struggles A heartfelt tale of resilience, dreams, and unwavering determination from a rural village girl in Nepal. ????? Characters: Sita – A brave, 18-year-old girl from a village with big dreams of becoming a doctor. Anil – Her childhood friend and silent supporter, kind-hearted and loyal. Maya – Sita\'s mother, a hardworking, practical woman torn between love and reality. Hari – Sita’s father, emotionally distant but works hard to support the family. Priya – Sita’s best friend from the same village (a minor character). ? Long Summary & Deep Explanation Scene 1: The Village and Sita’s Dream The story opens in a picturesque village nestled in the hills of Nepal. We’re introduced to Sita, a young village girl standing near a field, her eyes gazing into the distance. Though surrounded by poverty and hardship, her heart is full of hope. In a deeply introspective moment, she wonders if someone from such a background can ever truly achieve their dreams. ? Key Insight: This scene sets the emotional and thematic tone. Sita represents countless young people who dare to dream beyond their circumstances. The vast, open landscape symbolizes her limitless ambitions. Scene 2: A Conversation with Maya (Her Mother) Sita expresses her desire to attend medical college—not with anyone\'s help, but through her own hard work. She’s determined to escape the cycle of poverty and the predictable life of a rural girl. Maya, her mother, supports her daughter emotionally but reminds her of their harsh reality: they can barely afford food, let alone college tuition. ? Key Insight: This exchange reflects a common generational and emotional conflict: the dreams of the young versus the fears and limitations of the old. Maya’s concern is real, but so is Sita’s hunger to succeed. Scene 3: Sita’s Love for Anil At a peaceful riverbank, Anil and Sita share a heartfelt moment. Anil worries about the painful journey ahead. But Sita, tears in her eyes, declares she’s ready to struggle—as long as Anil stays beside her. She doesn’t want to be trapped in the village; her dreams are bigger, and she needs someone who believes in her. Anil pledges his full support, expressing that Sita is his inspiration. ? Key Insight: This scene shows how emotional support and love can empower someone to keep fighting. It’s not a love story in the traditional sense but an emotional bond forged through mutual respect and shared hope. Scene 4: The Struggle Begins Now begins the real struggle. Sita works tirelessly in the fields during the day and studies late into the night under a dim lantern. Despite the exhaustion, she doesn’t lose focus. Her spirit remains unbroken. ? Key Insight: This symbolizes the dual burden many young dreamers carry: helping their families survive while building a future for themselves. Her lantern-lit nights show silent perseverance in the face of overwhelming odds. Scene 5: A Heartbreaking Loss Tragedy strikes. Hari, Sita’s father, suffers a fatal accident while working. The family rushes to the hospital, but he doesn’t survive. The emotional weight collapses on Sita, who sobs in Anil’s arms, feeling the injustice of their unending hardship. Her mother, though broken, urges Sita not to give up. They must survive this pain and fulfill Hari’s dream, too. ? Key Insight: This pivotal moment turns Sita’s journey into something even deeper. Her dream is no longer just personal—it becomes a tribute to her father’s sacrifices and her family’s struggle. Scene 6: Sita’s Strength Despite the tragedy, Sita doesn’t falter. She becomes stronger, more focused, and more determined. Her nights are still filled with study, but now there\'s even more fire in her heart. Anil sees her burning determination and calls her a true hero. Sita replies that she must do this not only for her parents but also to honor her own worth. ? Key Insight: This scene shows the transformation from grief into growth. Sita is no longer just chasing a dream; she’s rising beyond loss. Her strength is internal, matured through pain and powered by vision. Scene 7: The Final Victory After months of tireless struggle, the moment arrives. Sita receives an acceptance letter to a medical college in Kathmandu. Her hands tremble, tears stream, and joy fills her soul. She hugs her mother and Anil, proudly declaring her success is the fruit of her relentless effort. Maya, crying tears of pride, says, \"This is our victory, Sita.\" The final scene shows Sita holding the letter, with the sunset behind her—a symbol of one journey ending and a new one beginning. Sita\'s voice echoes in a powerful voiceover: \"I knew I had to struggle to fulfill my dream. It made me stronger. Now, I know I can keep going forward.\" ? Key Insight: This ending is not just about getting into college—it’s about victory over circumstance. It’s a quiet, dignified triumph, showing how hope, love, and hard work can overcome even the deepest poverty and heartbreak. ? Themes & Lessons Resilience & Hope – Sita’s belief in herself, despite all odds, is the soul of the story. The Power of Dreams – Ambition isn\'t just a privilege of the rich. Even a village girl can dream—and win. Family & Loss – Pain from losing a loved one can break us—or make us. Support Systems – Anil’s steady support and Maya’s reluctant encouragement reflect the importance of emotional anchors. Realistic Struggles – The story avoids romanticizing poverty. It shows the raw, painful realities—but with light at the end. ? Final Reflection “Dreams and Struggles” is more than just a coming-of-age story. It’s a heartfelt portrayal of a Nepali girl\'s fight against destiny, a reminder that the human spirit can endure immense hardship if fueled by purpose. It doesn\'t offer fairy tale solutions, but it offers hope—honest, earned, and inspiring. It reminds us that greatness doesn’t need privilege—it only needs courage, consistency, and belief.', 'Nepali', 'completed', 100, NULL, '2025-07-22 03:07:15', '2025-07-22 03:08:52', '2025-07-22 03:08:52', 'Preparing video generation'),
('abc0cb48-d33d-41bc-bd66-1f909979e62f', 60, 'Introduction to the human immune system', 'English', 'processing', 5, NULL, '2025-07-21 06:14:20', '2025-07-21 06:14:20', NULL, 'Generating podcast data'),
('b1476785-78d4-411b-a08f-60f17387055b', 60, 'Explain Me the latest saiyara hindi movie', 'Hindi', 'completed', 100, NULL, '2025-11-18 08:38:08', '2025-11-18 08:38:27', '2025-11-18 08:38:27', 'Preparing video generation'),
('b28e4b02-4a99-4f67-906a-cd20622f27bd', 60, 'Introduction to the human immune system', 'English', 'completed', 100, NULL, '2025-07-21 06:05:48', '2025-07-21 06:07:09', '2025-07-21 06:07:09', 'Preparing video generation'),
('b98040f7-dd35-46f3-b9fc-73ab9771de49', 60, 'Introduction to the human immune system', 'English', 'processing', 5, NULL, '2025-07-21 05:37:22', '2025-07-21 05:37:22', NULL, 'Generating podcast data'),
('bf61cebb-53a1-45f3-958d-8d1338f1633a', 60, 'Explain me about Royal masscre in Nepal', 'Nepali', 'processing', 5, NULL, '2025-07-21 11:12:23', '2025-07-21 11:12:23', NULL, 'Generating podcast data'),
('c31c4024-521d-44f1-bf1f-2a0edce3a7d8', 60, 'The water cycle explained', 'English', 'completed', 100, NULL, '2025-07-21 03:55:50', '2025-07-21 03:56:28', '2025-07-21 03:56:28', 'Preparing video generation'),
('c66a49c1-4acd-456c-817f-b24ecc9ed880', 60, 'Introduction to the human immune system', 'English', 'processing', 10, NULL, '2025-07-21 06:11:56', '2025-07-21 06:12:31', NULL, 'Preparing video generation'),
('c90f3299-b112-43b8-8ef3-66a45c937859', 60, 'Explain me about Royal masscre in Nepal', 'English', 'completed', 100, NULL, '2025-07-21 11:47:50', '2025-07-21 11:49:14', '2025-07-21 11:49:14', 'Preparing video generation'),
('cd4d53d7-2b47-47a9-9d32-1b1c524873ba', 60, 'Explain Me the latest saiyara hindi movie', 'English', 'processing', 5, NULL, '2025-07-22 04:09:41', '2025-07-22 04:09:41', NULL, 'Generating podcast data'),
('cfb53b04-167b-4ed1-870f-f68cb3b579c1', 60, 'Introduction to the human immune system', 'English', 'completed', 100, NULL, '2025-07-21 06:08:53', '2025-07-21 06:09:35', '2025-07-21 06:09:35', 'Preparing video generation'),
('e0a29fe0-3338-46c3-a43a-608998a5337f', 60, 'Explain me how ai models neural networks are made and works', 'Hindi', 'completed', 100, 'podcast_video_20250719_211612.mp4', '2025-07-19 15:27:05', '2025-07-19 15:34:55', '2025-07-19 15:34:55', 'Preparing video generation'),
('e5f7d72e-dce8-4727-a122-0e04745aa8e4', 60, 'Explain me this story in brief : Title: Dreams and Struggles A heartfelt tale of resilience, dreams, and unwavering determination from a rural village girl in Nepal. ????? Characters: Sita – A brave, 18-year-old girl from a village with big dreams of becoming a doctor. Anil – Her childhood friend and silent supporter, kind-hearted and loyal. Maya – Sita\'s mother, a hardworking, practical woman torn between love and reality. Hari – Sita’s father, emotionally distant but works hard to support the family. Priya – Sita’s best friend from the same village (a minor character). ? Long Summary & Deep Explanation Scene 1: The Village and Sita’s Dream The story opens in a picturesque village nestled in the hills of Nepal. We’re introduced to Sita, a young village girl standing near a field, her eyes gazing into the distance. Though surrounded by poverty and hardship, her heart is full of hope. In a deeply introspective moment, she wonders if someone from such a background can ever truly achieve their dreams. ? Key Insight: This scene sets the emotional and thematic tone. Sita represents countless young people who dare to dream beyond their circumstances. The vast, open landscape symbolizes her limitless ambitions. Scene 2: A Conversation with Maya (Her Mother) Sita expresses her desire to attend medical college—not with anyone\'s help, but through her own hard work. She’s determined to escape the cycle of poverty and the predictable life of a rural girl. Maya, her mother, supports her daughter emotionally but reminds her of their harsh reality: they can barely afford food, let alone college tuition. ? Key Insight: This exchange reflects a common generational and emotional conflict: the dreams of the young versus the fears and limitations of the old. Maya’s concern is real, but so is Sita’s hunger to succeed. Scene 3: Sita’s Love for Anil At a peaceful riverbank, Anil and Sita share a heartfelt moment. Anil worries about the painful journey ahead. But Sita, tears in her eyes, declares she’s ready to struggle—as long as Anil stays beside her. She doesn’t want to be trapped in the village; her dreams are bigger, and she needs someone who believes in her. Anil pledges his full support, expressing that Sita is his inspiration. ? Key Insight: This scene shows how emotional support and love can empower someone to keep fighting. It’s not a love story in the traditional sense but an emotional bond forged through mutual respect and shared hope. Scene 4: The Struggle Begins Now begins the real struggle. Sita works tirelessly in the fields during the day and studies late into the night under a dim lantern. Despite the exhaustion, she doesn’t lose focus. Her spirit remains unbroken. ? Key Insight: This symbolizes the dual burden many young dreamers carry: helping their families survive while building a future for themselves. Her lantern-lit nights show silent perseverance in the face of overwhelming odds. Scene 5: A Heartbreaking Loss Tragedy strikes. Hari, Sita’s father, suffers a fatal accident while working. The family rushes to the hospital, but he doesn’t survive. The emotional weight collapses on Sita, who sobs in Anil’s arms, feeling the injustice of their unending hardship. Her mother, though broken, urges Sita not to give up. They must survive this pain and fulfill Hari’s dream, too. ? Key Insight: This pivotal moment turns Sita’s journey into something even deeper. Her dream is no longer just personal—it becomes a tribute to her father’s sacrifices and her family’s struggle. Scene 6: Sita’s Strength Despite the tragedy, Sita doesn’t falter. She becomes stronger, more focused, and more determined. Her nights are still filled with study, but now there\'s even more fire in her heart. Anil sees her burning determination and calls her a true hero. Sita replies that she must do this not only for her parents but also to honor her own worth. ? Key Insight: This scene shows the transformation from grief into growth. Sita is no longer just chasing a dream; she’s rising beyond loss. Her strength is internal, matured through pain and powered by vision. Scene 7: The Final Victory After months of tireless struggle, the moment arrives. Sita receives an acceptance letter to a medical college in Kathmandu. Her hands tremble, tears stream, and joy fills her soul. She hugs her mother and Anil, proudly declaring her success is the fruit of her relentless effort. Maya, crying tears of pride, says, \"This is our victory, Sita.\" The final scene shows Sita holding the letter, with the sunset behind her—a symbol of one journey ending and a new one beginning. Sita\'s voice echoes in a powerful voiceover: \"I knew I had to struggle to fulfill my dream. It made me stronger. Now, I know I can keep going forward.\" ? Key Insight: This ending is not just about getting into college—it’s about victory over circumstance. It’s a quiet, dignified triumph, showing how hope, love, and hard work can overcome even the deepest poverty and heartbreak. ? Themes & Lessons Resilience & Hope – Sita’s belief in herself, despite all odds, is the soul of the story. The Power of Dreams – Ambition isn\'t just a privilege of the rich. Even a village girl can dream—and win. Family & Loss – Pain from losing a loved one can break us—or make us. Support Systems – Anil’s steady support and Maya’s reluctant encouragement reflect the importance of emotional anchors. Realistic Struggles – The story avoids romanticizing poverty. It shows the raw, painful realities—but with light at the end. ? Final Reflection “Dreams and Struggles” is more than just a coming-of-age story. It’s a heartfelt portrayal of a Nepali girl\'s fight against destiny, a reminder that the human spirit can endure immense hardship if fueled by purpose. It doesn\'t offer fairy tale solutions, but it offers hope—honest, earned, and inspiring. It reminds us that greatness doesn’t need privilege—it only needs courage, consistency, and belief.', 'Nepali', 'completed', 100, NULL, '2025-07-22 03:09:35', '2025-07-22 03:12:02', '2025-07-22 03:12:02', 'Preparing video generation'),
('e6362121-e540-40bb-8f7c-e8d84cb1d217', 60, 'Explain me how ai models neural networks are made and works', 'Hindi', 'completed', 100, 'podcast_video_20250719_205229.mp4', '2025-07-19 15:02:39', '2025-07-19 15:15:59', '2025-07-19 15:15:59', 'Preparing video generation'),
('ecb1306f-50db-4d9f-8ed0-b70935dbb46e', 60, 'The water cycle explained', 'English', 'failed', 10, NULL, '2025-07-21 05:45:03', '2025-07-21 05:45:10', NULL, 'main_async() got an unexpected keyword argument \'job_id\''),
('f1e8babc-c74d-4137-aa99-148c2fa5d4ae', 60, 'Introduction to the human immune system', 'English', 'processing', 5, NULL, '2025-07-21 06:07:55', '2025-07-21 06:07:55', NULL, 'Generating podcast data'),
('f6949ed4-9958-47f9-a0a4-200151dcee34', 60, 'Introduction to the human immune system', 'English', 'processing', 5, NULL, '2025-07-21 06:01:03', '2025-07-21 06:01:03', NULL, 'Generating podcast data'),
('f9f46ccc-cbcf-476a-a658-992c57fc8a75', 60, 'The solar system and its planets', 'English', 'processing', 10, NULL, '2025-07-20 08:43:28', '2025-07-20 08:43:51', NULL, 'Preparing video generation'),
('fb5e0d98-ec9a-40be-92c5-9c570c7e5814', 60, 'The water cycle explained', 'English', 'processing', 5, NULL, '2025-07-21 03:57:34', '2025-07-21 03:57:34', NULL, 'Generating podcast data');

-- --------------------------------------------------------

--
-- Table structure for table `video_tags`
--

CREATE TABLE `video_tags` (
  `video_id` int(11) NOT NULL,
  `tag_id` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `video_tags`
--

INSERT INTO `video_tags` (`video_id`, `tag_id`) VALUES
(1, 'grade6'),
(1, 'mathematics'),
(1, 'whole_numbers'),
(2, 'addition'),
(2, 'grade6'),
(2, 'mathematics'),
(3, 'grade6'),
(3, 'integers'),
(3, 'mathematics'),
(4, 'fractions'),
(4, 'grade6'),
(4, 'mathematics'),
(5, 'geometry'),
(5, 'grade6'),
(5, 'mathematics'),
(6, 'grade6'),
(6, 'matter'),
(6, 'science'),
(7, 'algebra'),
(7, 'grade7'),
(7, 'mathematics'),
(8, 'functions'),
(8, 'grade8'),
(8, 'mathematics'),
(9, 'grade9'),
(9, 'mathematics'),
(9, 'quadratic'),
(10, 'grade9'),
(10, 'kinematics'),
(10, 'physics');

-- --------------------------------------------------------

--
-- Structure for view `ai_chat_session_summary`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`tmp_ashlya`@`localhost` SQL SECURITY DEFINER VIEW `ai_chat_session_summary`  AS SELECT `s`.`id` AS `session_id`, `s`.`user_id` AS `user_id`, `s`.`session_title` AS `session_title`, `s`.`session_type` AS `session_type`, `s`.`is_active` AS `is_active`, `s`.`created_at` AS `created_at`, `s`.`updated_at` AS `updated_at`, count(`m`.`id`) AS `total_messages`, count(case when `m`.`message_type` = 'user' then 1 end) AS `user_messages`, count(case when `m`.`message_type` = 'assistant' then 1 end) AS `assistant_messages`, max(`m`.`created_at`) AS `last_message_at`, substr(coalesce((select `ai_chat_messages`.`content` from `ai_chat_messages` where `ai_chat_messages`.`session_id` = `s`.`id` and `ai_chat_messages`.`message_type` = 'user' order by `ai_chat_messages`.`created_at` desc limit 1),'No messages'),1,100) AS `last_user_message_preview` FROM (`ai_chat_sessions` `s` left join `ai_chat_messages` `m` on(`s`.`id` = `m`.`session_id`)) GROUP BY `s`.`id`, `s`.`user_id`, `s`.`session_title`, `s`.`session_type`, `s`.`is_active`, `s`.`created_at`, `s`.`updated_at` ;

-- --------------------------------------------------------

--
-- Structure for view `user_chat_statistics`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`tmp_ashlya`@`localhost` SQL SECURITY DEFINER VIEW `user_chat_statistics`  AS SELECT `u`.`id` AS `user_id`, `u`.`fullname` AS `username`, `u`.`email` AS `user_email`, count(distinct `s`.`id`) AS `total_sessions`, count(distinct case when `s`.`is_active` = 1 then `s`.`id` end) AS `active_sessions`, count(`m`.`id`) AS `total_messages`, count(case when `m`.`message_type` = 'user' then 1 end) AS `user_messages_sent`, count(case when `m`.`message_type` = 'assistant' then 1 end) AS `ai_responses_received`, count(`f`.`id`) AS `favorite_messages`, coalesce(sum(`a`.`tokens_consumed`),0) AS `total_tokens_used`, max(`s`.`updated_at`) AS `last_chat_activity` FROM ((((`user` `u` left join `ai_chat_sessions` `s` on(`u`.`id` = `s`.`user_id`)) left join `ai_chat_messages` `m` on(`s`.`id` = `m`.`session_id`)) left join `ai_chat_favorites` `f` on(`u`.`id` = `f`.`user_id`)) left join `ai_chat_analytics` `a` on(`u`.`id` = `a`.`user_id`)) GROUP BY `u`.`id`, `u`.`fullname`, `u`.`email` ;

-- --------------------------------------------------------

--
-- Structure for view `user_performance_view`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`tmp_ashlya`@`localhost` SQL SECURITY DEFINER VIEW `user_performance_view`  AS SELECT `u`.`user_id` AS `user_id`, `u`.`total_quizzes` AS `total_quizzes`, `u`.`total_questions` AS `total_questions`, `u`.`total_correct` AS `total_correct`, `u`.`avg_score` AS `avg_score`, `u`.`best_score` AS `best_score`, `u`.`current_streak` AS `current_streak`, `u`.`longest_streak` AS `longest_streak`, `u`.`last_activity` AS `last_activity`, coalesce(`recent`.`recent_avg_score`,0) AS `recent_avg_score`, coalesce(`recent`.`recent_quiz_count`,0) AS `recent_quiz_count`, CASE WHEN `recent`.`recent_avg_score` > `u`.`avg_score` THEN 'improving' WHEN `recent`.`recent_avg_score` < `u`.`avg_score` THEN 'declining' ELSE 'stable' END AS `performance_trend` FROM (`user_analytics_summary` `u` left join (select `quiz_sessions`.`user_id` AS `user_id`,avg(`quiz_sessions`.`score_percentage`) AS `recent_avg_score`,count(0) AS `recent_quiz_count` from `quiz_sessions` where `quiz_sessions`.`completed_at` >= current_timestamp() - interval 7 day group by `quiz_sessions`.`user_id`) `recent` on(`u`.`user_id` = `recent`.`user_id`)) ;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `achievements`
--
ALTER TABLE `achievements`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `admin`
--
ALTER TABLE `admin`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `email` (`email`),
  ADD UNIQUE KEY `public_id` (`public_id`);

--
-- Indexes for table `ai_chat_analytics`
--
ALTER TABLE `ai_chat_analytics`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_user_id` (`user_id`),
  ADD KEY `idx_session_id` (`session_id`),
  ADD KEY `idx_interaction_type` (`interaction_type`),
  ADD KEY `idx_created_at` (`created_at`),
  ADD KEY `idx_analytics_user_date` (`user_id`,`created_at`,`mode_used`),
  ADD KEY `idx_mode_used` (`mode_used`);

--
-- Indexes for table `ai_chat_favorites`
--
ALTER TABLE `ai_chat_favorites`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_user_session_message` (`user_id`,`session_id`,`message_id`),
  ADD KEY `idx_user_id` (`user_id`),
  ADD KEY `idx_session_id` (`session_id`),
  ADD KEY `message_id` (`message_id`);

--
-- Indexes for table `ai_chat_messages`
--
ALTER TABLE `ai_chat_messages`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_session_id` (`session_id`),
  ADD KEY `idx_message_type` (`message_type`),
  ADD KEY `idx_created_at` (`created_at`),
  ADD KEY `idx_parent_message` (`parent_message_id`),
  ADD KEY `idx_message_session_type` (`session_id`,`message_type`,`created_at`);

--
-- Indexes for table `ai_chat_search_index`
--
ALTER TABLE `ai_chat_search_index`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_user_id` (`user_id`),
  ADD KEY `idx_session_id` (`session_id`),
  ADD KEY `message_id` (`message_id`);
ALTER TABLE `ai_chat_search_index` ADD FULLTEXT KEY `ft_searchable_content` (`searchable_content`);

--
-- Indexes for table `ai_chat_sessions`
--
ALTER TABLE `ai_chat_sessions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_user_id` (`user_id`),
  ADD KEY `idx_created_at` (`created_at`),
  ADD KEY `idx_session_user_active` (`user_id`,`is_active`,`updated_at`);

--
-- Indexes for table `ai_models`
--
ALTER TABLE `ai_models`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `name` (`name`),
  ADD KEY `idx_provider` (`provider`),
  ADD KEY `idx_status` (`status`),
  ADD KEY `idx_tier` (`tier`);

--
-- Indexes for table `blog_authors`
--
ALTER TABLE `blog_authors`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `blog_categories`
--
ALTER TABLE `blog_categories`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `blog_comments`
--
ALTER TABLE `blog_comments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_blog_comments_post_id` (`post_id`);

--
-- Indexes for table `blog_posts`
--
ALTER TABLE `blog_posts`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `slug_unique` (`slug`) USING HASH,
  ADD KEY `category_idx` (`category_id`);

--
-- Indexes for table `blog_post_tags`
--
ALTER TABLE `blog_post_tags`
  ADD PRIMARY KEY (`post_id`,`tag_id`),
  ADD KEY `idx_blog_post_tags_post_id` (`post_id`),
  ADD KEY `idx_blog_post_tags_tag_id` (`tag_id`);

--
-- Indexes for table `blog_subscribers`
--
ALTER TABLE `blog_subscribers`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `email` (`email`);

--
-- Indexes for table `blog_tags`
--
ALTER TABLE `blog_tags`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `blog_view_logs`
--
ALTER TABLE `blog_view_logs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `post_id` (`post_id`);

--
-- Indexes for table `categories`
--
ALTER TABLE `categories`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `coupons`
--
ALTER TABLE `coupons`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`),
  ADD KEY `idx_coupon_code` (`code`),
  ADD KEY `idx_coupon_active` (`is_active`),
  ADD KEY `idx_coupon_validity` (`valid_from`,`valid_until`),
  ADD KEY `idx_coupon_created_by` (`created_by`);

--
-- Indexes for table `coupon_usage_history`
--
ALTER TABLE `coupon_usage_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_coupon_usage_coupon` (`coupon_id`),
  ADD KEY `idx_coupon_usage_user` (`user_id`),
  ADD KEY `idx_coupon_usage_course` (`course_id`),
  ADD KEY `idx_coupon_usage_enrollment` (`enrollment_id`);

--
-- Indexes for table `courses`
--
ALTER TABLE `courses`
  ADD PRIMARY KEY (`id`),
  ADD KEY `category_id` (`category_id`),
  ADD KEY `idx_grade_level` (`grade_level`),
  ADD KEY `fk_courses_approved_by` (`approved_by`),
  ADD KEY `idx_courses_institute` (`institute_id`),
  ADD KEY `idx_courses_primary_instructor` (`primary_instructor_id`),
  ADD KEY `idx_courses_approval_status` (`approval_status`),
  ADD KEY `idx_courses_public` (`is_public`);

--
-- Indexes for table `course_audio_content`
--
ALTER TABLE `course_audio_content`
  ADD PRIMARY KEY (`id`),
  ADD KEY `topic_id` (`topic_id`),
  ADD KEY `idx_audio_file_path` (`file_path`(255)),
  ADD KEY `idx_course_audio_content_topic_language` (`topic_id`,`language`),
  ADD KEY `idx_course_audio_content_topic_lang_pos` (`topic_id`,`language`,`position`);

--
-- Indexes for table `course_instructors`
--
ALTER TABLE `course_instructors`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_course_instructor_role` (`course_id`,`instructor_id`,`role`),
  ADD KEY `idx_course_instructors_course` (`course_id`),
  ADD KEY `idx_course_instructors_instructor` (`instructor_id`),
  ADD KEY `idx_course_instructors_role` (`role`);

--
-- Indexes for table `course_notes_content`
--
ALTER TABLE `course_notes_content`
  ADD PRIMARY KEY (`id`),
  ADD KEY `topic_id` (`topic_id`);

--
-- Indexes for table `course_reviews`
--
ALTER TABLE `course_reviews`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `course_tags`
--
ALTER TABLE `course_tags`
  ADD PRIMARY KEY (`course_id`,`tag_id`),
  ADD KEY `tag_id` (`tag_id`);

--
-- Indexes for table `discussion_votes`
--
ALTER TABLE `discussion_votes`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_vote` (`discussion_id`,`user_id`),
  ADD KEY `user_id` (`user_id`);

--
-- Indexes for table `doubts`
--
ALTER TABLE `doubts`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_doubts_user` (`user_id`),
  ADD KEY `idx_doubts_course` (`course_id`),
  ADD KEY `idx_doubts_solved` (`is_solved`);

--
-- Indexes for table `doubt_answers`
--
ALTER TABLE `doubt_answers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_answers_doubt` (`doubt_id`),
  ADD KEY `idx_answers_user` (`user_id`),
  ADD KEY `idx_answers_accepted` (`is_accepted`);

--
-- Indexes for table `doubt_answer_likes`
--
ALTER TABLE `doubt_answer_likes`
  ADD PRIMARY KEY (`answer_id`,`user_id`),
  ADD KEY `user_id` (`user_id`);

--
-- Indexes for table `doubt_bookmarks`
--
ALTER TABLE `doubt_bookmarks`
  ADD PRIMARY KEY (`doubt_id`,`user_id`),
  ADD KEY `user_id` (`user_id`);

--
-- Indexes for table `doubt_likes`
--
ALTER TABLE `doubt_likes`
  ADD PRIMARY KEY (`doubt_id`,`user_id`),
  ADD KEY `user_id` (`user_id`);

--
-- Indexes for table `doubt_tags`
--
ALTER TABLE `doubt_tags`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `name` (`name`);

--
-- Indexes for table `doubt_tag_relation`
--
ALTER TABLE `doubt_tag_relation`
  ADD PRIMARY KEY (`doubt_id`,`tag_id`),
  ADD KEY `tag_id` (`tag_id`);

--
-- Indexes for table `enrollments`
--
ALTER TABLE `enrollments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_enrollments_user_course` (`user_id`,`course_id`),
  ADD KEY `idx_enrollments_payment_status` (`payment_status`),
  ADD KEY `idx_enrollments_enrolled_at` (`enrolled_at`),
  ADD KEY `idx_enrollments_coupon` (`coupon_id`),
  ADD KEY `idx_user_id` (`user_id`),
  ADD KEY `idx_course_id` (`course_id`),
  ADD KEY `idx_payment_status` (`payment_status`),
  ADD KEY `idx_enrolled_at` (`enrolled_at`);

--
-- Indexes for table `event_schedule`
--
ALTER TABLE `event_schedule`
  ADD PRIMARY KEY (`id`),
  ADD KEY `event_id` (`event_id`);

--
-- Indexes for table `event_speakers`
--
ALTER TABLE `event_speakers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `event_id` (`event_id`);

--
-- Indexes for table `home_sliders`
--
ALTER TABLE `home_sliders`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_active` (`is_active`),
  ADD KEY `idx_order` (`display_order`);

--
-- Indexes for table `images`
--
ALTER TABLE `images`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uuid` (`uuid`);

--
-- Indexes for table `institutes`
--
ALTER TABLE `institutes`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `slug` (`slug`),
  ADD KEY `fk_institutes_verified_by` (`verified_by`),
  ADD KEY `idx_institutes_slug` (`slug`),
  ADD KEY `idx_institutes_status` (`status`),
  ADD KEY `idx_institutes_type` (`institute_type`),
  ADD KEY `idx_institutes_verified` (`is_verified`),
  ADD KEY `idx_institutes_created_by` (`created_by`),
  ADD KEY `idx_institutes_email` (`email`),
  ADD KEY `idx_institutes_rating` (`average_rating`);

--
-- Indexes for table `institute_analytics`
--
ALTER TABLE `institute_analytics`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_institute_period` (`institute_id`,`period_type`,`period_start`),
  ADD KEY `idx_institute_analytics_institute` (`institute_id`),
  ADD KEY `idx_institute_analytics_period` (`period_type`,`period_start`);

--
-- Indexes for table `institute_courses`
--
ALTER TABLE `institute_courses`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_institute_course` (`institute_id`,`course_id`),
  ADD KEY `fk_institute_courses_course` (`course_id`),
  ADD KEY `idx_institute_courses_institute` (`institute_id`),
  ADD KEY `idx_institute_courses_featured` (`is_featured`),
  ADD KEY `idx_institute_courses_order` (`display_order`);

--
-- Indexes for table `institute_members`
--
ALTER TABLE `institute_members`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_institute_user` (`institute_id`,`user_id`),
  ADD KEY `fk_institute_members_invited_by` (`invited_by`),
  ADD KEY `idx_institute_members_institute` (`institute_id`),
  ADD KEY `idx_institute_members_user` (`user_id`),
  ADD KEY `idx_institute_members_role` (`role`),
  ADD KEY `idx_institute_members_status` (`status`);

--
-- Indexes for table `institute_reviews`
--
ALTER TABLE `institute_reviews`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_user_institute_review` (`user_id`,`institute_id`),
  ADD KEY `fk_institute_reviews_course` (`course_id`),
  ADD KEY `fk_institute_reviews_moderated_by` (`moderated_by`),
  ADD KEY `idx_institute_reviews_institute` (`institute_id`),
  ADD KEY `idx_institute_reviews_rating` (`rating`),
  ADD KEY `idx_institute_reviews_status` (`status`);

--
-- Indexes for table `institute_settings`
--
ALTER TABLE `institute_settings`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_institute_settings` (`institute_id`);

--
-- Indexes for table `instructors`
--
ALTER TABLE `instructors`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_instructors_institute` (`institute_id`),
  ADD KEY `idx_instructors_user` (`user_id`),
  ADD KEY `idx_instructors_status` (`status`),
  ADD KEY `idx_instructors_featured` (`is_featured`);

--
-- Indexes for table `live_ai_sessions`
--
ALTER TABLE `live_ai_sessions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `session_id` (`session_id`),
  ADD KEY `idx_user_id` (`user_id`),
  ADD KEY `idx_session_id` (`session_id`),
  ADD KEY `idx_created_at` (`created_at`),
  ADD KEY `idx_emotional_state` (`emotional_state`),
  ADD KEY `idx_learning_style` (`learning_style`);

--
-- Indexes for table `live_ai_session_analytics`
--
ALTER TABLE `live_ai_session_analytics`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_session_id_analytics` (`session_id`),
  ADD KEY `idx_user_id_analytics` (`user_id`);

--
-- Indexes for table `live_ai_session_messages`
--
ALTER TABLE `live_ai_session_messages`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `message_id` (`message_id`),
  ADD KEY `idx_session_id` (`session_id`),
  ADD KEY `idx_timestamp` (`timestamp`);

--
-- Indexes for table `live_classes`
--
ALTER TABLE `live_classes`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `jitsi_room_name` (`jitsi_room_name`),
  ADD KEY `idx_course_id` (`course_id`),
  ADD KEY `idx_instructor_id` (`instructor_id`),
  ADD KEY `idx_scheduled_start` (`scheduled_start_time`),
  ADD KEY `idx_status` (`status`);

--
-- Indexes for table `live_class_chat`
--
ALTER TABLE `live_class_chat`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_live_class_id` (`live_class_id`),
  ADD KEY `idx_user_id` (`user_id`),
  ADD KEY `idx_created_at` (`created_at`),
  ADD KEY `reply_to_message_id` (`reply_to_message_id`),
  ADD KEY `private_to_user_id` (`private_to_user_id`);

--
-- Indexes for table `live_class_participants`
--
ALTER TABLE `live_class_participants`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_class_user` (`live_class_id`,`user_id`),
  ADD KEY `idx_user_id` (`user_id`);

--
-- Indexes for table `mocktestresults`
--
ALTER TABLE `mocktestresults`
  ADD PRIMARY KEY (`result_id`),
  ADD KEY `user_id` (`user_id`),
  ADD KEY `mocktest_id` (`mocktest_id`);

--
-- Indexes for table `mocktests`
--
ALTER TABLE `mocktests`
  ADD PRIMARY KEY (`mocktest_id`);

--
-- Indexes for table `modelset`
--
ALTER TABLE `modelset`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_modelset_created_by` (`created_by`),
  ADD KEY `idx_modelset_course` (`course_id`),
  ADD KEY `idx_modelset_category` (`category`),
  ADD KEY `idx_modelset_difficulty` (`difficulty_level`),
  ADD KEY `idx_modelset_active` (`is_active`),
  ADD KEY `idx_modelset_created_at` (`created_at`);

--
-- Indexes for table `modelset_attempts`
--
ALTER TABLE `modelset_attempts`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `session_id` (`session_id`),
  ADD UNIQUE KEY `unique_user_modelset_attempt` (`user_id`,`modelset_id`,`attempt_number`),
  ADD KEY `idx_modelset_attempts_user` (`user_id`),
  ADD KEY `idx_modelset_attempts_modelset` (`modelset_id`),
  ADD KEY `idx_modelset_attempts_completed_at` (`completed_at`),
  ADD KEY `idx_modelset_attempts_score` (`score_percentage`);

--
-- Indexes for table `modelset_question_responses`
--
ALTER TABLE `modelset_question_responses`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_modelset_responses_attempt` (`attempt_id`),
  ADD KEY `idx_modelset_responses_question` (`question_id`),
  ADD KEY `idx_modelset_responses_correct` (`is_correct`);

--
-- Indexes for table `note_discussions`
--
ALTER TABLE `note_discussions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `topic_id` (`topic_id`),
  ADD KEY `user_id` (`user_id`),
  ADD KEY `parent_id` (`parent_id`);

--
-- Indexes for table `notifications`
--
ALTER TABLE `notifications`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_notification` (`user_id`,`type`,`related_id`,`related_type`),
  ADD KEY `idx_user_id` (`user_id`),
  ADD KEY `idx_type` (`type`),
  ADD KEY `idx_related_id` (`related_id`),
  ADD KEY `idx_related_type` (`related_type`),
  ADD KEY `idx_is_read` (`is_read`),
  ADD KEY `idx_created_at` (`created_at`);

--
-- Indexes for table `options`
--
ALTER TABLE `options`
  ADD PRIMARY KEY (`option_id`),
  ADD KEY `question_id` (`question_id`);

--
-- Indexes for table `password_reset_tokens`
--
ALTER TABLE `password_reset_tokens`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_user_id` (`user_id`),
  ADD KEY `idx_token` (`token`),
  ADD KEY `idx_expires` (`expires_at`);

--
-- Indexes for table `qa_analytics`
--
ALTER TABLE `qa_analytics`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_qa_analytics_user_topic` (`user_id`,`topic_id`),
  ADD KEY `idx_qa_analytics_topic` (`topic_id`),
  ADD KEY `idx_qa_analytics_last_practiced` (`last_practiced_at`);

--
-- Indexes for table `qa_questions`
--
ALTER TABLE `qa_questions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_qa_questions_topic` (`topic_id`),
  ADD KEY `idx_qa_questions_difficulty` (`difficulty`),
  ADD KEY `idx_qa_questions_user` (`user_id`),
  ADD KEY `idx_qa_questions_ai_generated` (`is_ai_generated`),
  ADD KEY `idx_qa_questions_marks` (`marks`);

--
-- Indexes for table `qa_responses`
--
ALTER TABLE `qa_responses`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_qa_responses_session` (`session_id`),
  ADD KEY `idx_qa_responses_question` (`question_id`),
  ADD KEY `idx_qa_responses_topic` (`topic_id`),
  ADD KEY `idx_qa_responses_quality` (`answer_quality`),
  ADD KEY `idx_qa_responses_scores` (`ai_score`,`human_score`,`final_score`);

--
-- Indexes for table `qa_sessions`
--
ALTER TABLE `qa_sessions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_qa_sessions_user` (`user_id`),
  ADD KEY `idx_qa_sessions_type` (`qa_type`),
  ADD KEY `idx_qa_sessions_course` (`course_id`),
  ADD KEY `idx_qa_sessions_completed` (`completed_at`),
  ADD KEY `idx_qa_sessions_evaluation` (`evaluation_status`),
  ADD KEY `idx_qa_sessions_marks` (`marks_obtained`);

--
-- Indexes for table `questions`
--
ALTER TABLE `questions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_questions_topic` (`topic_id`),
  ADD KEY `idx_questions_difficulty` (`difficulty`),
  ADD KEY `idx_questions_marks` (`marks`),
  ADD KEY `idx_questions_ai_generated` (`is_ai_generated`),
  ADD KEY `idx_questions_created_at` (`created_at`),
  ADD KEY `idx_questions_user_id` (`user_id`),
  ADD KEY `idx_questions_user_topic` (`user_id`,`topic_id`),
  ADD KEY `idx_questions_ai_user` (`is_ai_generated`,`user_id`),
  ADD KEY `idx_questions_ai_model` (`ai_model`);

--
-- Indexes for table `quiz_question_responses`
--
ALTER TABLE `quiz_question_responses`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_session_id` (`session_id`),
  ADD KEY `idx_question_id` (`question_id`),
  ADD KEY `idx_topic_id` (`topic_id`),
  ADD KEY `idx_is_correct` (`is_correct`),
  ADD KEY `idx_session_correct` (`session_id`,`is_correct`),
  ADD KEY `idx_topic_correct` (`topic_id`,`is_correct`),
  ADD KEY `idx_question_responses_topic_correct` (`topic_id`,`is_correct`),
  ADD KEY `idx_question_topic` (`question_id`,`topic_id`),
  ADD KEY `idx_time_taken` (`time_taken`);

--
-- Indexes for table `quiz_sessions`
--
ALTER TABLE `quiz_sessions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_user_id` (`user_id`),
  ADD KEY `idx_quiz_type` (`quiz_type`),
  ADD KEY `idx_completed_at` (`completed_at`),
  ADD KEY `idx_user_completed` (`user_id`,`completed_at`),
  ADD KEY `idx_quiz_sessions_user_date` (`user_id`,`completed_at`),
  ADD KEY `idx_user_type_date` (`user_id`,`quiz_type`,`completed_at`),
  ADD KEY `idx_score` (`score_percentage`),
  ADD KEY `idx_quiz_sessions_modelset` (`modelset_id`),
  ADD KEY `idx_quiz_sessions_negative_marking` (`negative_marking`);

--
-- Indexes for table `recently_watched`
--
ALTER TABLE `recently_watched`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_id_idx` (`user_id`),
  ADD KEY `course_id_idx` (`course_id`),
  ADD KEY `time_watched_idx` (`time_watched`);

--
-- Indexes for table `resources`
--
ALTER TABLE `resources`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `skills`
--
ALTER TABLE `skills`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_id` (`user_id`);

--
-- Indexes for table `student_feedback`
--
ALTER TABLE `student_feedback`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `supported_audio_languages`
--
ALTER TABLE `supported_audio_languages`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `language_code` (`language_code`);

--
-- Indexes for table `tags`
--
ALTER TABLE `tags`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `name` (`name`);

--
-- Indexes for table `topics`
--
ALTER TABLE `topics`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_topics_course_id` (`course_id`),
  ADD KEY `idx_topics_order_sequence` (`order_sequence`),
  ADD KEY `idx_topics_parent_id` (`parent_topic_id`),
  ADD KEY `idx_topics_level` (`level`),
  ADD KEY `idx_topics_course_parent` (`course_id`,`parent_topic_id`);

--
-- Indexes for table `topic_analytics`
--
ALTER TABLE `topic_analytics`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_user_topic` (`user_id`,`topic_id`),
  ADD KEY `idx_user_id` (`user_id`),
  ADD KEY `idx_topic_id` (`topic_id`),
  ADD KEY `idx_last_attempted` (`last_attempted`),
  ADD KEY `idx_accuracy` (`user_id`,`questions_correct`,`questions_attempted`);

--
-- Indexes for table `upcoming_events`
--
ALTER TABLE `upcoming_events`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `user`
--
ALTER TABLE `user`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_user_email` (`email`),
  ADD KEY `idx_user_password_hash` (`password_hash`),
  ADD KEY `idx_user_type` (`user_type`),
  ADD KEY `idx_user_institute` (`institute_id`),
  ADD KEY `idx_user_verified` (`is_verified`);

--
-- Indexes for table `user_activity_log`
--
ALTER TABLE `user_activity_log`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_user_id` (`user_id`),
  ADD KEY `idx_activity_type` (`activity_type`),
  ADD KEY `idx_created_at` (`created_at`);

--
-- Indexes for table `user_analytics_summary`
--
ALTER TABLE `user_analytics_summary`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `user_id` (`user_id`),
  ADD KEY `idx_user_id` (`user_id`),
  ADD KEY `idx_last_activity` (`last_activity`),
  ADD KEY `idx_avg_score` (`avg_score`),
  ADD KEY `idx_best_score` (`best_score`),
  ADD KEY `idx_analytics_summary_scores` (`avg_score`,`best_score`);

--
-- Indexes for table `user_audio_preferences`
--
ALTER TABLE `user_audio_preferences`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_user_preference` (`user_id`);

--
-- Indexes for table `user_coupon_assignments`
--
ALTER TABLE `user_coupon_assignments`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_user_coupon` (`user_id`,`coupon_id`),
  ADD KEY `idx_user_coupon_user` (`user_id`),
  ADD KEY `idx_user_coupon_coupon` (`coupon_id`),
  ADD KEY `idx_user_coupon_assigned_by` (`assigned_by`);

--
-- Indexes for table `user_learning_insights`
--
ALTER TABLE `user_learning_insights`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_user_id` (`user_id`),
  ADD KEY `idx_insight_type` (`insight_type`),
  ADD KEY `idx_is_active` (`is_active`),
  ADD KEY `idx_priority` (`priority`),
  ADD KEY `idx_user_active` (`user_id`,`is_active`,`priority`);

--
-- Indexes for table `user_learning_streaks`
--
ALTER TABLE `user_learning_streaks`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_user_date` (`user_id`,`streak_date`),
  ADD KEY `idx_user_id` (`user_id`),
  ADD KEY `idx_streak_date` (`streak_date`),
  ADD KEY `idx_user_date_score` (`user_id`,`streak_date`,`avg_score`);

--
-- Indexes for table `user_notes_progress`
--
ALTER TABLE `user_notes_progress`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_user_topic` (`user_id`,`topic_id`),
  ADD KEY `topic_id` (`topic_id`);

--
-- Indexes for table `user_study_patterns`
--
ALTER TABLE `user_study_patterns`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_user_time` (`user_id`,`study_hour`,`day_of_week`),
  ADD KEY `idx_user_id` (`user_id`),
  ADD KEY `idx_study_hour` (`study_hour`),
  ADD KEY `idx_day_of_week` (`day_of_week`),
  ADD KEY `idx_performance` (`user_id`,`avg_performance`);

--
-- Indexes for table `videos`
--
ALTER TABLE `videos`
  ADD PRIMARY KEY (`id`),
  ADD KEY `course_id` (`course_id`),
  ADD KEY `idx_videos_course_id` (`course_id`),
  ADD KEY `idx_videos_topic_id` (`topic_id`),
  ADD KEY `idx_videos_level` (`level`),
  ADD KEY `idx_videos_is_active` (`is_active`),
  ADD KEY `idx_videos_free` (`free`);

--
-- Indexes for table `video_jobs`
--
ALTER TABLE `video_jobs`
  ADD PRIMARY KEY (`job_id`);

--
-- Indexes for table `video_tags`
--
ALTER TABLE `video_tags`
  ADD PRIMARY KEY (`video_id`,`tag_id`),
  ADD KEY `video_id` (`video_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `achievements`
--
ALTER TABLE `achievements`
  MODIFY `id` int(100) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `admin`
--
ALTER TABLE `admin`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `ai_chat_analytics`
--
ALTER TABLE `ai_chat_analytics`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=38;

--
-- AUTO_INCREMENT for table `ai_chat_favorites`
--
ALTER TABLE `ai_chat_favorites`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `ai_chat_messages`
--
ALTER TABLE `ai_chat_messages`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=99;

--
-- AUTO_INCREMENT for table `ai_chat_search_index`
--
ALTER TABLE `ai_chat_search_index`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=99;

--
-- AUTO_INCREMENT for table `ai_chat_sessions`
--
ALTER TABLE `ai_chat_sessions`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;

--
-- AUTO_INCREMENT for table `ai_models`
--
ALTER TABLE `ai_models`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=937;

--
-- AUTO_INCREMENT for table `blog_authors`
--
ALTER TABLE `blog_authors`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `blog_categories`
--
ALTER TABLE `blog_categories`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;

--
-- AUTO_INCREMENT for table `blog_comments`
--
ALTER TABLE `blog_comments`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `blog_posts`
--
ALTER TABLE `blog_posts`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;

--
-- AUTO_INCREMENT for table `blog_subscribers`
--
ALTER TABLE `blog_subscribers`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `blog_tags`
--
ALTER TABLE `blog_tags`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28;

--
-- AUTO_INCREMENT for table `blog_view_logs`
--
ALTER TABLE `blog_view_logs`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=69;

--
-- AUTO_INCREMENT for table `categories`
--
ALTER TABLE `categories`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `coupons`
--
ALTER TABLE `coupons`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `coupon_usage_history`
--
ALTER TABLE `coupon_usage_history`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `courses`
--
ALTER TABLE `courses`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- AUTO_INCREMENT for table `course_audio_content`
--
ALTER TABLE `course_audio_content`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=58;

--
-- AUTO_INCREMENT for table `course_instructors`
--
ALTER TABLE `course_instructors`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `course_notes_content`
--
ALTER TABLE `course_notes_content`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=171;

--
-- AUTO_INCREMENT for table `course_reviews`
--
ALTER TABLE `course_reviews`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `discussion_votes`
--
ALTER TABLE `discussion_votes`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `doubts`
--
ALTER TABLE `doubts`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;

--
-- AUTO_INCREMENT for table `doubt_answers`
--
ALTER TABLE `doubt_answers`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `doubt_tags`
--
ALTER TABLE `doubt_tags`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=32;

--
-- AUTO_INCREMENT for table `enrollments`
--
ALTER TABLE `enrollments`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=52;

--
-- AUTO_INCREMENT for table `event_schedule`
--
ALTER TABLE `event_schedule`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `event_speakers`
--
ALTER TABLE `event_speakers`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `home_sliders`
--
ALTER TABLE `home_sliders`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `images`
--
ALTER TABLE `images`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `institutes`
--
ALTER TABLE `institutes`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `institute_analytics`
--
ALTER TABLE `institute_analytics`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `institute_courses`
--
ALTER TABLE `institute_courses`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `institute_members`
--
ALTER TABLE `institute_members`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `institute_reviews`
--
ALTER TABLE `institute_reviews`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `institute_settings`
--
ALTER TABLE `institute_settings`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `instructors`
--
ALTER TABLE `instructors`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `live_ai_sessions`
--
ALTER TABLE `live_ai_sessions`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=275;

--
-- AUTO_INCREMENT for table `live_ai_session_analytics`
--
ALTER TABLE `live_ai_session_analytics`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `live_ai_session_messages`
--
ALTER TABLE `live_ai_session_messages`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=291;

--
-- AUTO_INCREMENT for table `live_classes`
--
ALTER TABLE `live_classes`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=26;

--
-- AUTO_INCREMENT for table `live_class_chat`
--
ALTER TABLE `live_class_chat`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `live_class_participants`
--
ALTER TABLE `live_class_participants`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=40;

--
-- AUTO_INCREMENT for table `mocktestresults`
--
ALTER TABLE `mocktestresults`
  MODIFY `result_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `mocktests`
--
ALTER TABLE `mocktests`
  MODIFY `mocktest_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=79;

--
-- AUTO_INCREMENT for table `modelset`
--
ALTER TABLE `modelset`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=134;

--
-- AUTO_INCREMENT for table `modelset_attempts`
--
ALTER TABLE `modelset_attempts`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `modelset_question_responses`
--
ALTER TABLE `modelset_question_responses`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=431;

--
-- AUTO_INCREMENT for table `note_discussions`
--
ALTER TABLE `note_discussions`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `notifications`
--
ALTER TABLE `notifications`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `options`
--
ALTER TABLE `options`
  MODIFY `option_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1057;

--
-- AUTO_INCREMENT for table `password_reset_tokens`
--
ALTER TABLE `password_reset_tokens`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `qa_analytics`
--
ALTER TABLE `qa_analytics`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `qa_questions`
--
ALTER TABLE `qa_questions`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `qa_responses`
--
ALTER TABLE `qa_responses`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `qa_sessions`
--
ALTER TABLE `qa_sessions`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `questions`
--
ALTER TABLE `questions`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23211;

--
-- AUTO_INCREMENT for table `quiz_question_responses`
--
ALTER TABLE `quiz_question_responses`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=512;

--
-- AUTO_INCREMENT for table `quiz_sessions`
--
ALTER TABLE `quiz_sessions`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=69;

--
-- AUTO_INCREMENT for table `recently_watched`
--
ALTER TABLE `recently_watched`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=67;

--
-- AUTO_INCREMENT for table `resources`
--
ALTER TABLE `resources`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `skills`
--
ALTER TABLE `skills`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `student_feedback`
--
ALTER TABLE `student_feedback`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `supported_audio_languages`
--
ALTER TABLE `supported_audio_languages`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `tags`
--
ALTER TABLE `tags`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=41;

--
-- AUTO_INCREMENT for table `topics`
--
ALTER TABLE `topics`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14248;

--
-- AUTO_INCREMENT for table `topic_analytics`
--
ALTER TABLE `topic_analytics`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `upcoming_events`
--
ALTER TABLE `upcoming_events`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=101;

--
-- AUTO_INCREMENT for table `user_activity_log`
--
ALTER TABLE `user_activity_log`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `user_analytics_summary`
--
ALTER TABLE `user_analytics_summary`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=68;

--
-- AUTO_INCREMENT for table `user_audio_preferences`
--
ALTER TABLE `user_audio_preferences`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `user_coupon_assignments`
--
ALTER TABLE `user_coupon_assignments`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `user_learning_insights`
--
ALTER TABLE `user_learning_insights`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `user_learning_streaks`
--
ALTER TABLE `user_learning_streaks`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=67;

--
-- AUTO_INCREMENT for table `user_notes_progress`
--
ALTER TABLE `user_notes_progress`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=123;

--
-- AUTO_INCREMENT for table `user_study_patterns`
--
ALTER TABLE `user_study_patterns`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `videos`
--
ALTER TABLE `videos`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5072;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `ai_chat_analytics`
--
ALTER TABLE `ai_chat_analytics`
  ADD CONSTRAINT `ai_chat_analytics_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `ai_chat_analytics_ibfk_2` FOREIGN KEY (`session_id`) REFERENCES `ai_chat_sessions` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `ai_chat_favorites`
--
ALTER TABLE `ai_chat_favorites`
  ADD CONSTRAINT `ai_chat_favorites_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `ai_chat_favorites_ibfk_2` FOREIGN KEY (`session_id`) REFERENCES `ai_chat_sessions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `ai_chat_favorites_ibfk_3` FOREIGN KEY (`message_id`) REFERENCES `ai_chat_messages` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `ai_chat_messages`
--
ALTER TABLE `ai_chat_messages`
  ADD CONSTRAINT `ai_chat_messages_ibfk_1` FOREIGN KEY (`session_id`) REFERENCES `ai_chat_sessions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `ai_chat_messages_ibfk_2` FOREIGN KEY (`parent_message_id`) REFERENCES `ai_chat_messages` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `ai_chat_search_index`
--
ALTER TABLE `ai_chat_search_index`
  ADD CONSTRAINT `ai_chat_search_index_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `ai_chat_search_index_ibfk_2` FOREIGN KEY (`session_id`) REFERENCES `ai_chat_sessions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `ai_chat_search_index_ibfk_3` FOREIGN KEY (`message_id`) REFERENCES `ai_chat_messages` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `ai_chat_sessions`
--
ALTER TABLE `ai_chat_sessions`
  ADD CONSTRAINT `ai_chat_sessions_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `blog_comments`
--
ALTER TABLE `blog_comments`
  ADD CONSTRAINT `blog_comments_ibfk_1` FOREIGN KEY (`post_id`) REFERENCES `blog_posts` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `blog_posts`
--
ALTER TABLE `blog_posts`
  ADD CONSTRAINT `fk_category` FOREIGN KEY (`category_id`) REFERENCES `blog_categories` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `blog_post_tags`
--
ALTER TABLE `blog_post_tags`
  ADD CONSTRAINT `blog_post_tags_ibfk_1` FOREIGN KEY (`post_id`) REFERENCES `blog_posts` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `blog_post_tags_ibfk_2` FOREIGN KEY (`tag_id`) REFERENCES `blog_tags` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `blog_view_logs`
--
ALTER TABLE `blog_view_logs`
  ADD CONSTRAINT `blog_view_logs_ibfk_1` FOREIGN KEY (`post_id`) REFERENCES `blog_posts` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `coupon_usage_history`
--
ALTER TABLE `coupon_usage_history`
  ADD CONSTRAINT `coupon_usage_history_ibfk_1` FOREIGN KEY (`coupon_id`) REFERENCES `coupons` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `coupon_usage_history_ibfk_2` FOREIGN KEY (`enrollment_id`) REFERENCES `enrollments` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `courses`
--
ALTER TABLE `courses`
  ADD CONSTRAINT `courses_ibfk_1` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_courses_approved_by` FOREIGN KEY (`approved_by`) REFERENCES `user` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `fk_courses_institute` FOREIGN KEY (`institute_id`) REFERENCES `institutes` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `fk_courses_primary_instructor` FOREIGN KEY (`primary_instructor_id`) REFERENCES `instructors` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `course_audio_content`
--
ALTER TABLE `course_audio_content`
  ADD CONSTRAINT `course_audio_content_ibfk_1` FOREIGN KEY (`topic_id`) REFERENCES `topics` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `course_instructors`
--
ALTER TABLE `course_instructors`
  ADD CONSTRAINT `fk_course_instructors_course` FOREIGN KEY (`course_id`) REFERENCES `courses` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_course_instructors_instructor` FOREIGN KEY (`instructor_id`) REFERENCES `instructors` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `course_notes_content`
--
ALTER TABLE `course_notes_content`
  ADD CONSTRAINT `course_notes_content_ibfk_1` FOREIGN KEY (`topic_id`) REFERENCES `topics` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `enrollments`
--
ALTER TABLE `enrollments`
  ADD CONSTRAINT `fk_enrollments_user_id` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `live_ai_session_analytics`
--
ALTER TABLE `live_ai_session_analytics`
  ADD CONSTRAINT `live_ai_session_analytics_ibfk_1` FOREIGN KEY (`session_id`) REFERENCES `live_ai_sessions` (`session_id`) ON DELETE CASCADE;

--
-- Constraints for table `live_ai_session_messages`
--
ALTER TABLE `live_ai_session_messages`
  ADD CONSTRAINT `live_ai_session_messages_ibfk_1` FOREIGN KEY (`session_id`) REFERENCES `live_ai_sessions` (`session_id`) ON DELETE CASCADE;

--
-- Constraints for table `notifications`
--
ALTER TABLE `notifications`
  ADD CONSTRAINT `fk_notifications_user_id` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `user_coupon_assignments`
--
ALTER TABLE `user_coupon_assignments`
  ADD CONSTRAINT `user_coupon_assignments_ibfk_1` FOREIGN KEY (`coupon_id`) REFERENCES `coupons` (`id`) ON DELETE CASCADE;
COMMIT;

