Comments (4)
OK, so we can fix the current problem (see commit above) by manually removing the wrong migration that was written here:
We can avoid writing a migration number if there is any query result on the migration_XXXX
table. This will avoid that there is ever a wrong migration number written.
Maybe we can avoid storing _migration
completely, which would be great as we'd then eliminate all danger for error due to redundancy.
from lnschema-core.
OK, so this should fix the issue for existing auto-migrating instances; the problem we just encountered:
However, an inconsistent version string will still affect new instances, and make them impossible to migrate.
from lnschema-core.
@fredericenard, could you rerun CI here after fixing the corrupted postgres instance?
The PR seems to be good otherwise.
from lnschema-core.
@falexwolf Is this still needed?
from lnschema-core.
Related Issues (20)
- What is the matter with non-detected foreign key constraints sometimes?
- Why don't naming conventions seem to be applied at init? HOT 1
- How to access the local cache of a `DObject`?
- Rename `_filekey` to `_objectkey`
- `filepath_from_dobject` should leverage the storage table and not settings HOT 1
- Fix typo `dobjects_features`, should be `dobject_features`
- Add unique constraint of DFolder._objectkey and storage
- Function headers with immutable types consistently
- Featureset example broken?
- File suffix not flexible enough
- Add a unique constraint to `Storage` root
- Consider tracking modality also on File level in case there are no semantic features (like for images)
- Encoding Feature and ULabel uids
- __repr__ for registry
- 🔖 Migrations for next release
- using has no example docstring
- Add a Registry.__repr__(cls) to show more schema information & show what it can be queried for
- Link models in __repr__
- Add test for __repr__ of Registry
- Introducing test dependency on bionty is problematic HOT 1
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 lnschema-core.