server/test/data/migratedapp/schema.py
branchstable
changeset 6790 f4f67ea5436a
parent 6292 054fa36060d5
child 7711 458cb2edf63a
--- a/server/test/data/migratedapp/schema.py	Thu Jan 06 18:53:00 2011 +0100
+++ b/server/test/data/migratedapp/schema.py	Fri Jan 07 08:13:43 2011 +0100
@@ -15,9 +15,7 @@
 #
 # You should have received a copy of the GNU Lesser General Public License along
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
-"""
-
-"""
+"""cw.server.migraction test"""
 from yams.buildobjs import (EntityType, RelationType, RelationDefinition,
                             SubjectRelation,
                             RichString, String, Int, Boolean, Datetime, Date)
@@ -68,7 +66,7 @@
     type = String(maxsize=1)
     unique_id = String(maxsize=1, required=True, unique=True)
     mydate = Date(default='TODAY')
-    shortpara = String(maxsize=64)
+    shortpara = String(maxsize=64, default='hop')
     ecrit_par = SubjectRelation('Personne', constraints=[RQLConstraint('S concerne A, O concerne A')])
     attachment = SubjectRelation('File')