no more meta attribute on entity and relation type
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 19 Jun 2009 15:54:55 +0200
changeset 2127 bc86aa68cc43
parent 2126 a25859917ccc
child 2128 464edb198faa
no more meta attribute on entity and relation type
misc/migration/3.4.0_Any.py
schemas/bootstrap.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/migration/3.4.0_Any.py	Fri Jun 19 15:54:55 2009 +0200
@@ -0,0 +1,2 @@
+drop_attribute('CWEType', 'meta')
+drop_attribute('CWRType', 'meta')
--- a/schemas/bootstrap.py	Fri Jun 19 14:42:04 2009 +0200
+++ b/schemas/bootstrap.py	Fri Jun 19 15:54:55 2009 +0200
@@ -17,7 +17,6 @@
                   unique=True, maxsize=64)
     description = RichString(internationalizable=True,
                              description=_('semantic description of this entity type'))
-    meta = Boolean(description=_('is it an application entity type or not ?'))
     # necessary to filter using RQL
     final = Boolean(description=_('automatic'))
 
@@ -30,7 +29,6 @@
                                 default='text/plain', constraints=[format_constraint])
     description = String(internationalizable=True,
                          description=_('semantic description of this relation type'))
-    meta = Boolean(description=_('is it an application relation type or not ?'))
     symetric = Boolean(description=_('is this relation equivalent in both direction ?'))
     inlined = Boolean(description=_('is this relation physically inlined? you should know what you\'re doing if you are changing this!'))
     fulltext_container = String(description=_('if full text content of subject/object entity '