| 43 | |
| 44 | ./manage.py makemigrations testbed |
| 45 | You are trying to add a non-nullable field 'id' to browsertest without a default; we can't do that (the database needs something to populate existing rows). |
| 46 | Please select a fix: |
| 47 | 1) Provide a one-off default now (will be set on all existing rows with a null value for this column) |
| 48 | 2) Quit, and let me add a default in models.py |
| 49 | Select an option: 1 |
| 50 | Please enter the default value now, as valid Python |
| 51 | The datetime and django.utils.timezone modules are available, so you can do e.g. timezone.now |
| 52 | Type 'exit' to exit this prompt |
| 53 | >>> 1 |
| 54 | You are trying to add a non-nullable field 'name' to browsertest without a default; we can't do that (the database needs something to populate existing rows). |
| 55 | Please select a fix: |
| 56 | 1) Provide a one-off default now (will be set on all existing rows with a null value for this column) |
| 57 | 2) Quit, and let me add a default in models.py |
| 58 | Select an option: 1 |
| 59 | Please enter the default value now, as valid Python |
| 60 | The datetime and django.utils.timezone modules are available, so you can do e.g. timezone.now |
| 61 | Type 'exit' to exit this prompt |
| 62 | >>> ' ' |
| 63 | You are trying to add a non-nullable field 'id' to terminaltest without a default; we can't do that (the database needs something to populate existing rows). |
| 64 | Please select a fix: |
| 65 | 1) Provide a one-off default now (will be set on all existing rows with a null value for this column) |
| 66 | 2) Quit, and let me add a default in models.py |
| 67 | Select an option: 1 |
| 68 | Please enter the default value now, as valid Python |
| 69 | The datetime and django.utils.timezone modules are available, so you can do e.g. timezone.now |
| 70 | Type 'exit' to exit this prompt |
| 71 | >>> 1 |
| 72 | You are trying to add a non-nullable field 'name' to terminaltest without a default; we can't do that (the database needs something to populate existing rows). |
| 73 | Please select a fix: |
| 74 | 1) Provide a one-off default now (will be set on all existing rows with a null value for this column) |
| 75 | 2) Quit, and let me add a default in models.py |
| 76 | Select an option: 1 |
| 77 | Please enter the default value now, as valid Python |
| 78 | The datetime and django.utils.timezone modules are available, so you can do e.g. timezone.now |
| 79 | Type 'exit' to exit this prompt |
| 80 | >>> ' ' |
| 81 | |
| 82 | Migrations for 'testbed': |
| 83 | testbed\migrations\0002_auto_20170315_1711.py: |
| 84 | - Remove field testcase_ptr from browsertest |
| 85 | - Remove field testcase_ptr from terminaltest |
| 86 | - Add field id to browsertest |
| 87 | - Add field name to browsertest |
| 88 | - Add field id to terminaltest |
| 89 | - Add field name to terminaltest |
| 90 | - Delete model TestCase |