Comments (3)
Hello. No, Dynamoid doesn't support table schema management (like mentioned GSI creation).
Wondering what is a use case for such feature.
from dynamoid.
@andrykonchin
Thank you for your response and apologies for the confusion in my previous response. You are correct that Dynamoid does not support table schema management and creating GSIs through migrations. Instead, you would need to create the GSI using AWS CLI, AWS SDK, or the DynamoDB console.
Regarding your question about use cases for managing table schema through code, one use case would be to automate the creation and modification of tables and indexes across multiple environments, such as development, staging, and production. By defining the table schema and indexes in code, you can ensure consistency across environments and reduce the risk of human error in creating or modifying tables and indexes.
from dynamoid.
I suppose you are talking about something similar to Rails migrations and
- defining schema in a separate file (like
db/schema.rb
) - dumping/loading schema
- modifying existing tables with migrations (defined in
db/migrate
)
Or do you mean some standalone tool not related to Rails approach that can be used even apart from Dynamoid?
Or you mean using schema definition (hash/range keys, GSI and LSI) given in model to migrate table schemas in current environment (staging/test/production)?
from dynamoid.
Related Issues (20)
- `key:` with number type -> type mismatch HOT 7
- Any chance to cut a more recent release? HOT 4
- Calling first modifies the original variable HOT 4
- How to use condition expressions in a query? HOT 6
- Coveralls is dead and is holding back simplecov version
- Bad Badge Anchor HOT 1
- how to set a GSI for condition ? HOT 3
- filter expression with or? HOT 2
- Conditional updates are incorrect in README HOT 2
- undefined method `symbolize_keys' when saving dynamo model HOT 2
- Field adapters no longer work (v3.9.0) HOT 9
- Updating an attribute that is a key of a GSI to `nil` (3.9.0) HOT 3
- Conditional update array element HOT 1
- Batching with more than 1000 doesn't have any effect? HOT 5
- Case where updating array/map fields does not work HOT 3
- Idea: "ActiveDocument" HOT 3
- has_one doesn't allow custom foreign_key HOT 1
- Not Functioning Correctly on Partial Updates of Serialized Fields HOT 1
- Why do I call Dynamoid::TransactionWrite and get an error name uninitialized constant? HOT 7
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 dynamoid.