Comments (10)
While we're at it, also support other postalcodes.
The longest postalcodes used around the world are about 9 characters long.
So if we support up to 11 or 12 characters, we should be safe.
from publicdb.
See commit 8997e23 and ec877d6 at the detector_migration branch of publicdb. I have tested migration 0008 on my local copy of the database but somehow I'm not allowed anymore to go to the django administration to confirm the changes.
Apparently the migration resets my password and my admin rights (this happened also during the test of migration 0007, that time Arne made me admin again).
from publicdb.
Did you set these files up manually, or did you use schemamigration
with the --auto
flag? http://south.readthedocs.org/en/latest/commands.html#schemamigration
from publicdb.
Manually, by editing
django_publicdb/inforecords/migrations/0006_contactinformation_fix.py
from publicdb.
Can you try via the schemamigration route and see if it gives the same results?
from publicdb.
I've reset the lenghts of the CharFields to 6, 6, 9 and made an initial schemamigration. Then I set the lengths back to 12 and used schemamigration with the --auto flag. This yields the same results (execpt for some comments).
Good to know for future migrations because this is way easier.
Shall I change my version with the one automatically created by schemamigration?
from publicdb.
If it is the same, then there is no reason to change it.
Perhaps add some of the comments if you deem them useful (if the auto generated added more comments..)
from publicdb.
Note to self;
Use this to migrate on server:
./manage.py migrate inforecords
from publicdb.
The migration did not work for me;
_mysql_exceptions.Warning: Data truncated for column 'pobox_postalcode' at row 2
see: ec877d6#commitcomment-3130723
from publicdb.
fixed by 5ffe8a1
from publicdb.
Related Issues (20)
- Deprecation warning in ansible: yum with name: {{item}}
- Improve daily histograms HOT 2
- Admin VPN DNS does not resolve hosts outside of the HiSPARC VPN HOT 4
- NRPE protocol 3 not supported by stations with Admin<=7 HOT 1
- redirect website to HTTPS (esp /admin) HOT 2
- Update (change) monitor services fails HOT 1
- numpy 16 breaks pytables VLArray (daily update fails) HOT 1
- software-update/installer/latest is showing v7.12 HOT 1
- letsencrypt ansible role broken HOT 1
- data.hisparc.nl image download broken in Chrome HOT 2
- ext_timestamp -> ts, ns broken
- ca.key in ansible vault not identical to/not accepted as ca.key HOT 1
- Frequent SIGFPE (uncaught floating point exceptions) in daily update HOT 13
- Coincidences download always yield -999 for event zenith, azimuth HOT 5
- HDF5ExtError in daily update HOT 6
- Use a less restrictive data license HOT 7
- Agree to terms click broke tests HOT 2
- Add PATH to crontab HOT 1
- Downloading KNMI lightning data requires agreement to terms HOT 1
- Publicdb down? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from publicdb.