5 lines
185 B
Python
5 lines
185 B
Python
import frappe
|
|
|
|
def execute():
|
|
if "device" not in frappe.db.get_table_columns("Sessions"):
|
|
frappe.db.sql("alter table tabSessions add column `device` varchar(255) default 'desktop'")
|