Files
cloud/press/patches/v0_0_1/remove_period_from_plan.py
Gavin D'souza 0147103b02 feat: Variable price/day depending on len(month)
Calculate Plan.get_price_per_day based on the number of days in
current month
2021-03-25 13:58:28 +05:30

10 lines
217 B
Python

# -*- coding: utf-8 -*-
# Copyright (c) 2021, Frappe and contributors
# For license information, please see license.txt
import frappe
def execute():
frappe.db.sql_ddl("ALTER TABLE `tabPlan` DROP COLUMN `period`")