create table b ( b text primary key, a text references a )
hop apply-patch
edit the file test/public/b.py and add
Fkeys = {
'a_fk': 'b_a_fkey',
}
git add .
git commit -m "b with Fkeys"
hop release-patch ends with:
HOP ERROR: Something has changed when re-applying the patch. This should not happen.
git diff gives:
@@ -51,9 +51,6 @@ class B(__RCLS):
}
"""
#>>> PLACE YOUR CODE BELLOW THIS LINE. DO NOT REMOVE THIS LINE!
- Fkeys = {
- 'a_fk': 'b_a_fkey',
- }
#<<< PLACE YOUR CODE ABOVE THIS LINE. DO NOT REMOVE THIS LINE!
def __init__(self, **kwargs):
Patch/0/0/2/b.sql
hop apply-patch edit the file
test/public/b.py
and addgit add . git commit -m "b with Fkeys"
hop release-patch ends with:
git diff gives: