Start over, safely
Reset Demo Database
Learners are meant to break things on purpose in this lab. This page restores the 13 school demo tables and every seed row to the original baseline state.
اس لیب میں سیکھنے والوں کا مقصد ہی یہ ہے کہ وہ تجربات کر کے چیزوں کو توڑ کر دیکھیں۔ یہ صفحہ اسکول کے تمام 13 ڈیمو ٹیبلز اور بنیادی ریکارڈز کو ان کی اصل ابتدائی حالت میں بحال کر دیتا ہے۔
This will:
- Drop and recreate all 13 school demo tables (running
schema.sqlagain) - Reload the original demo data (running
seed.sqlagain) - Recreate the teaching indexes (running
indexes.sqlagain) - Permanently discard the 281 demo record(s) currently in these tables, restoring them to initial seed values
- Student & Teacher Accounts Preserved: Logins, passwords, student codes, and workspaces are protected and will not be erased
Explain this page
- What exactly gets reset?
- The reset runs
schema.sql(drops and recreates the 13 school demo tables),seed.sql(reloads the original demo rows), andindexes.sql(recreates the teaching indexes). Practice data in these tables is reset to baseline. Teacher accounts, student credentials, and workspace logins are protected and remain untouched. - Why is a confirmation required?
- The checkbox and the JavaScript confirmation dialog exist so the reset cannot happen by accident. A reset is safe, but it is irreversible — you cannot undo it after the button is clicked.
- ریسیٹ (Reset) میں دراصل کیا ہوتا ہے؟
- ریسیٹ
schema.sqlچلاتا ہے (اسکول کے تمام 13 ڈیمو ٹیبلز ڈراپ اور دوبارہ بناتا ہے)،seed.sql(اصل ڈیمو ڈیٹا واپس لوڈ کرتا ہے)، اورindexes.sql(تعلیمی انڈیکسز دوبارہ بناتا ہے)۔ ان ٹیبلز کا ڈیٹا ابتدائی حالت میں واپس آ جاتا ہے۔ اساتذہ اور طلبہ کے لاگ ان اکاؤنٹس، پاس ورڈز اور ورک اسپیس مکمل محفوظ رہتے ہیں۔ - تصدیق کیوں ضروری ہے؟
- چیک باکس (Checkbox) اور جاوا اسکرپٹ (JavaScript) کا تصدیقی ڈائیلاگ اس لیے موجود ہے تاکہ ریسیٹ غلطی سے نہ ہو جائے۔ ریسیٹ محفوظ ہے، لیکن ناقابلِ واپسی ہے — بٹن دبانے کے بعد اسے undo نہیں کیا جا سکتا۔