Comments (3)
I don't think migrations is useful for mongodb since the collections is created on the fly.
Can you post some code for me to understand better what are you doing?
thank you
from mongodb-cakephp3.
Hi,
sorry for late reply, I am only running the migration command given below to migrate with mongo
bin/cake migrations migrate -p CakeDC/Users
Thanks
from mongodb-cakephp3.
But mongo is schemaless.
You don't need to use migrations with mongo, just modify your entity and the database will save the new object.
from mongodb-cakephp3.
Related Issues (20)
- Getting default Database connection always HOT 4
- Create aggregate method
- ORM like
- Error: Class '\MongoDB' not found HOT 1
- find by id
- Mongo db issue, when getting the depth level record from collections HOT 1
- Model, controller and query HOT 1
- Class '\MongoDB' not found HOT 5
- Got error on find query
- Not authorized to connect HOT 1
- Error: Call to a member function first() on array
- error on find() : Call to undefined method Hayko\Mongodb\Database\Driver\Mongodb::prepare() HOT 1
- Pagination not working (Cake 3.6.7) HOT 2
- No efficient way of counting? HOT 2
- syntax error, unexpected 'elseif' (T_ELSEIF) Error in: ROOT\vendor\hayko\mongodb\src\ORM\Document.php, line 70 HOT 1
- Unable to run save query
- Cakephp4 migration HOT 1
- Not able to use projection in find query HOT 1
- Installation Issue in Cakephp 3.3.10 HOT 2
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 mongodb-cakephp3.