Commit graph

61 commits

Author SHA1 Message Date
Nick
e1bded65a2 fix bug for "duplicate key name" when db init
During the first init process for creating tables, if one field marked True for both "unique" and "search_index" , table creation will be failed. 

for example :

create table `tabItem Barcode` (
            name varchar(140) not null primary key,
            creation datetime(6),
            modified datetime(6),
            modified_by varchar(140),
            owner varchar(140),
            docstatus int(1) not null default '0',
            parent varchar(140),
            parentfield varchar(140),
            parenttype varchar(140),
            idx int(8) not null default '0',
            `item_barcode` varchar(140) unique,
`sku_id` varchar(140),
`unit_qty` varchar(140),
`_comments` text,
`_assign` text,
`_liked_by` text,
`store` varchar(140),
`retail_price` varchar(140),
`_user_tags` text,
`uom` varchar(140),
index `item_barcode`(`item_barcode`),
index parent(parent))
            ENGINE=InnoDB
            ROW_FORMAT=COMPRESSED
            CHARACTER SET=utf8mb4
            COLLATE=utf8mb4_unicode_ci
2016-06-03 16:34:28 +08:00
Anand Doshi
4f93c976a7 [fix] If precision > 6, use Decimal(21,9) to allow for 12 digits before the decimal dot like in (18,6) 2016-04-21 16:38:36 +05:30
Rushabh Mehta
399bf0f8e0 [fix] track_seen is optional 2016-03-25 17:29:28 +05:30
Rushabh Mehta
d029eae1f7 [enhancement] added feature to track user seen, fixes #1648 2016-03-25 16:27:31 +05:30
Anand Doshi
5faecb2bc1 [fix] add _comments column after request 2016-02-11 23:06:56 +05:30
Anand Doshi
5b45450252 [fix] create optional columns during sync, use email account name if no sender full name 2016-02-08 13:14:00 +05:30
Anand Doshi
163c822ccd [fix] varchar length validation 2015-12-17 16:46:43 +05:30
Anand Doshi
5621ba30c0 [enhancement] Int, Currency, Float, Percent as not null and default to 0 2015-11-19 13:09:44 +05:30
Anand Doshi
70c58ccb81 [hotfix] patches and varchar length check 2015-10-19 17:25:05 +05:30
Anand Doshi
7fe35e0275 [fix] Remove thumbnail on deletion and change Attach to small text 2015-10-19 12:55:02 +05:30
Anand Doshi
3c4f31a23c Limit varchar length to 140 instead of 255 to mitigate Row Size Too Large error 2015-10-14 16:00:14 +05:30
Anand Doshi
f21f8cd34c [fix] in schema sync, sync custom fields if installing any app other than frappe 2015-09-09 14:42:00 +05:30
Anand Doshi
5e445476f3 [fix] show doctype, fieldname in unique validation 2015-09-03 11:42:19 +05:30
Anand Doshi
f525520788 [fix] Add/Drop unique based on property setter 2015-08-12 14:48:50 +05:30
Anand Doshi
c119a6396a Merge pull request #1222 from anandpdoshi/check-not-null
Change Check fields to have default as 0 (if not specified) and not null
2015-07-30 12:04:02 +05:30
Anand Doshi
baec4f855f Change Check fields to have default as 0 (if not specified) and not null 2015-07-30 11:54:27 +05:30
Nabin Hait
cfef3183ca [fix] Adding Unique Constraint 2015-07-29 19:10:38 +05:30
Rushabh Mehta
b05a6ef9b0 [fixes] [minor] email and doctype message 2015-07-01 16:48:42 +05:30
Anand Doshi
4a214ed22b [fix] db_schema check for change in decimal's default value. Fixes frappe/erpnext#3379. 2015-05-28 15:39:14 -04:00
Rushabh Mehta
22a4106b71 [sync] [fix] alter table default boo-boo 2015-05-07 18:16:04 +05:30
Rushabh Mehta
a0b27ae2d7 [fix] don't unique text fields 2015-05-07 17:48:54 +05:30
Rushabh Mehta
45ae2998be [fix] don't unique text fields 2015-05-07 17:27:02 +05:30
Rushabh Mehta
2b10264166 [fix] don't unique text fields 2015-05-07 17:23:34 +05:30
Rushabh Mehta
777774ced4 [fix] don't unique text fields 2015-05-07 17:12:35 +05:30
Anand Doshi
986c96d01a Fixed Email Pulling 2015-03-30 20:35:52 +05:30
Anand Doshi
a24393f12d Convert to barracuda and utf8mb4, trim tables 2015-03-25 19:05:06 +05:30
Rushabh Mehta
9e6eaf5a0b [test] fixes 2015-03-24 17:57:46 +05:30
Anand Doshi
f7f2372929 fixed boilerplate, freeze, attach, frappeclient 2015-03-17 19:44:53 +05:30
Anand Doshi
5214bb286a Fixes in test cases and recents 2015-03-05 16:29:26 +05:30
Anand Doshi
2995f02f3b Web Notes to Frappe, better alerts, css fixes, fixed splash 2015-03-03 15:09:34 +05:30
Anand Doshi
2e53a15bda Fieldname validation, fixes frappe/erpnext#2608 2015-02-25 15:06:18 +05:30
Anand Doshi
f6cdd4a655 Merge remote-tracking branch 'frappe/develop' into v5.0
Conflicts:
	frappe/__version__.py
	frappe/core/doctype/communication/communication.py
	frappe/core/page/desktop/desktop.js
	frappe/hooks.py
	frappe/translations/ar.csv
	frappe/translations/es.csv
	frappe/translations/fr.csv
	frappe/translations/hr.csv
	frappe/translations/id.csv
	frappe/translations/ja.csv
	frappe/translations/nl.csv
	frappe/translations/pl.csv
	frappe/translations/pt-BR.csv
	frappe/translations/ru.csv
	frappe/translations/tr.csv
	frappe/translations/zh-cn.csv
	frappe/translations/zh-tw.csv
	frappe/utils/email_lib/html2text.py
	setup.py
2015-02-24 18:06:16 +05:30
Anand Doshi
d234939cee [fix] changed Text Editor's mysql type to longtext 2015-02-24 12:48:49 +05:30
Anand Doshi
e5e80a27a3 Allow non-english field names in Custom Field #919 2015-02-06 12:55:52 +05:30
Rushabh Mehta
d4393365e4 [fix] in_install_app is in_install 2015-01-22 17:12:27 +05:30
Rushabh Mehta
2b9f6bace1 [merge] 2014-11-28 12:00:15 +05:30
Rushabh Mehta
766d4540b9 [fixes] [minor] based on error reports 2014-11-18 15:24:31 +05:30
Rushabh Mehta
c3ac0b9113 [merge] develop 2014-11-10 12:43:20 +05:30
Nabin Hait
dea587bcad check property setter and custom field only called after install 2014-11-08 10:25:17 +05:30
Nabin Hait
c3406b8d5a Allowed precision upto 9 for Float, Currency, Percent fieldtype 2014-11-07 17:03:56 +05:30
Nabin Hait
812515f312 Allowed precision upto 9 for Float, Currency, Percent fieldtype 2014-11-07 17:03:55 +05:30
Rushabh Mehta
99d3966cd6 [merge] conflicts 2014-10-21 12:34:57 +05:30
Pratik Vyas
ddc06e8a39 add support for install using dbhost #692 2014-10-16 00:03:13 +05:30
Rushabh Mehta
575ec0015a [api] added frappe.client.get_list 2014-09-26 18:53:37 +05:30
Rushabh Mehta
be6b3f37a8 added unique constraint 2014-09-26 15:21:25 +05:30
Rushabh Mehta
3fb3667204 new feature: dynamic links 💥 2014-06-20 16:47:34 +05:30
Anand Doshi
9d6450d69b Patch: change default fields like name, owner, etc to varchar(255) 2014-06-12 15:00:53 +05:30
Rushabh Mehta
11dd2888d1 updated about, fixes to dialog and customize form fixes frappe/erpnext#1639 2014-05-28 16:06:43 +05:30
Anand Doshi
24b2b08e4d No default for name field 2014-05-22 00:35:04 +05:30
Pratik Vyas
c941e70252 fix default in alter table 2014-05-11 10:32:52 +05:30