fix: batch course sequence id issue
This commit is contained in:
6
lms/patches/v1_0/change_naming_for_batch_course.py
Normal file
6
lms/patches/v1_0/change_naming_for_batch_course.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import frappe
|
||||
|
||||
|
||||
def execute():
|
||||
frappe.db.create_sequence("Batch Course", check_not_exists=True)
|
||||
frappe.db.set_next_sequence_val("Batch Course", 500, is_val_used=False)
|
||||
Reference in New Issue
Block a user