mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 19:19:17 +00:00
moved directory structure
This commit is contained in:
7
patches/june_2012/series_unique_patch.py
Normal file
7
patches/june_2012/series_unique_patch.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from __future__ import unicode_literals
|
||||
def execute():
|
||||
"""add unique constraint to series table's name column"""
|
||||
import webnotes
|
||||
webnotes.conn.commit()
|
||||
webnotes.conn.sql("alter table `tabSeries` add unique (name)")
|
||||
webnotes.conn.begin()
|
||||
Reference in New Issue
Block a user