Limit varchar length to 140 instead of 255 to mitigate Row Size Too Large error

This commit is contained in:
Anand Doshi
2015-10-02 17:14:40 +05:30
parent b4c0e94e99
commit 71ebad5668
199 changed files with 2475 additions and 2282 deletions

View File

@@ -41,6 +41,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Series",
"length": 20,
"no_copy": 1,
"options": "ISS-",
"permlevel": 0,
@@ -105,6 +106,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Status",
"length": 20,
"no_copy": 1,
"oldfieldname": "status",
"oldfieldtype": "Select",
@@ -597,7 +599,7 @@
"is_submittable": 0,
"issingle": 0,
"istable": 0,
"modified": "2015-09-24 06:54:33.383186",
"modified": "2015-10-02 07:38:51.908646",
"modified_by": "Administrator",
"module": "Support",
"name": "Issue",

View File

@@ -88,6 +88,7 @@
"in_filter": 1,
"in_list_view": 0,
"label": "Status",
"length": 20,
"no_copy": 1,
"oldfieldname": "status",
"oldfieldtype": "Select",
@@ -543,7 +544,7 @@
"is_submittable": 1,
"issingle": 0,
"istable": 0,
"modified": "2015-02-20 05:04:06.871850",
"modified": "2015-10-02 07:38:56.092101",
"modified_by": "Administrator",
"module": "Support",
"name": "Maintenance Schedule",

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt
from __future__ import unicode_literals
import frappe
import unittest
# test_records = frappe.get_test_records('Maintenance Schedule')
class TestMaintenanceSchedule(unittest.TestCase):
pass

View File

@@ -159,7 +159,7 @@
"is_submittable": 0,
"issingle": 0,
"istable": 1,
"modified": "2015-02-19 01:07:00.495149",
"modified": "2015-10-02 07:38:56.307772",
"modified_by": "Administrator",
"module": "Support",
"name": "Maintenance Schedule Detail",

View File

@@ -158,6 +158,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Periodicity",
"length": 20,
"no_copy": 0,
"oldfieldname": "periodicity",
"oldfieldtype": "Select",
@@ -296,7 +297,7 @@
"is_submittable": 0,
"issingle": 0,
"istable": 1,
"modified": "2015-02-20 05:07:52.854082",
"modified": "2015-10-02 07:38:56.419931",
"modified_by": "Administrator",
"module": "Support",
"name": "Maintenance Schedule Item",

View File

@@ -284,6 +284,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Completion Status",
"length": 20,
"no_copy": 0,
"oldfieldname": "completion_status",
"oldfieldtype": "Select",
@@ -329,6 +330,7 @@
"in_filter": 1,
"in_list_view": 1,
"label": "Maintenance Type",
"length": 20,
"no_copy": 0,
"oldfieldname": "maintenance_type",
"oldfieldtype": "Select",
@@ -695,7 +697,7 @@
"is_submittable": 1,
"issingle": 0,
"istable": 0,
"modified": "2015-09-07 15:51:26",
"modified": "2015-10-02 07:38:56.562419",
"modified_by": "Administrator",
"module": "Support",
"name": "Maintenance Visit",

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt
from __future__ import unicode_literals
import frappe
import unittest
# test_records = frappe.get_test_records('Maintenance Visit')
class TestMaintenanceVisit(unittest.TestCase):
pass

View File

@@ -257,7 +257,7 @@
"is_submittable": 0,
"issingle": 0,
"istable": 1,
"modified": "2015-08-19 12:46:32.069784",
"modified": "2015-10-02 07:38:56.794124",
"modified_by": "Administrator",
"module": "Support",
"name": "Maintenance Visit Purpose",

View File

@@ -41,6 +41,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Series",
"length": 20,
"no_copy": 1,
"oldfieldname": "naming_series",
"oldfieldtype": "Select",
@@ -66,6 +67,7 @@
"in_filter": 1,
"in_list_view": 1,
"label": "Status",
"length": 20,
"no_copy": 1,
"oldfieldname": "status",
"oldfieldtype": "Select",
@@ -368,6 +370,7 @@
"in_filter": 1,
"in_list_view": 0,
"label": "Warranty / AMC Status",
"length": 20,
"no_copy": 0,
"options": "\nUnder Warranty\nOut of Warranty\nUnder AMC\nOut of AMC",
"permlevel": 0,
@@ -958,7 +961,7 @@
"is_submittable": 0,
"issingle": 0,
"istable": 0,
"modified": "2015-09-07 15:51:26",
"modified": "2015-10-02 07:39:18.513337",
"modified_by": "Administrator",
"module": "Support",
"name": "Warranty Claim",