diff --git a/migration/postcreate.py b/migration/postcreate.py index 86496d6389f43c79f3e2e338792b89df9b9f4e7c_bWlncmF0aW9uL3Bvc3RjcmVhdGUucHk=..924a7d146051bbf6e0303651fe78bdfbb7cfe6fd_bWlncmF0aW9uL3Bvc3RjcmVhdGUucHk= 100644 --- a/migration/postcreate.py +++ b/migration/postcreate.py @@ -4,7 +4,7 @@ for login in (u'alf', u'syt', u'nico', u'jphc', u'ocy', u'auc', u'katia', u'graz', u'dede', u'juj', u'ludal', u'steph', u'arthur', u'david', u'joel', u'gaston', u'adim'): - rql('INSERT EUser E: E login %(login)s, E upassword %(login)s, E in_group G ' + rql('INSERT CWUser E: E login %(login)s, E upassword %(login)s, E in_group G ' 'WHERE G name "users"', {'login' : login}) rql('INSERT PaidByAccount P: P label %(label)s, P associated_to U WHERE U login %(login)s', {'label' : u"refund account - %s" % login, 'login': login}) diff --git a/migration/precreate.py b/migration/precreate.py deleted file mode 100644 index 86496d6389f43c79f3e2e338792b89df9b9f4e7c_bWlncmF0aW9uL3ByZWNyZWF0ZS5weQ==..0000000000000000000000000000000000000000 --- a/migration/precreate.py +++ /dev/null @@ -1,3 +0,0 @@ -# Instructions here will be read before reading the schema -# You could create your own groups here, like in : -# add_entity('EGroup', name=u'mygroup')