Comments (3)
Hi!
How come you are changing the search_path
manually here? For Reshape to work, you should only set it to the output of reshape schema-query
. It's unfortunately not possible to use custom schemas and search paths with Reshape, as Reshape uses those to achieve zero-downtime migrations.
from reshape.
Hi @fabianlindfors , meanwhile i can only use public schema as at now?
from reshape.
Sorry for the late reply but yes, Reshape assumes your actual table definitions live in the public schema
from reshape.
Related Issues (17)
- Could this be implemented in PLpgSQL instead of Rust? HOT 7
- Idea: migrate -> begin and complete -> commit HOT 5
- When are you planning your first production release? HOT 4
- Switch to natural sorting for migration file names
- [FR] Do you have any thoughts about indices with GiST operators? HOT 2
- Auto-generating migrations from models/structs HOT 2
- Quote identifier names HOT 4
- Make the cli return only the current search_path instead of the sql to set the right search_path
- With the `create_table` action if `primary_key` is set to an empty list, reshape generates invalid sql
- Support specifying CHECK constraints while creating and modifying columns and tables
- Add a `reshape migration status` to check what's the current status of the db/migrations
- TLS HOT 2
- search_path obtain with schema_query is too restrictive
- Comment regarding multi-tenancy HOT 4
- After abort, generate-schema-query returns the aborted search_path HOT 3
- Inserting data? HOT 14
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 reshape.