Comments (4)
Converted from #350
from bytebase.
@qsliu2017 please take a look.
To setup a ClickHouse instance, you can follow:
https://bytebase.com/blog/how-to-run-clickhouse-with-docker-and-connect-using-mysql-client
from bytebase.
I find that baseline SQL script will always be executed, both UI and Git workflow
In bytebase docs, it says
...This is achieved by using a baseline migration script which includes the entire schema of that live database.
...
Internally, the baseline migration only causes Bytebase to update its migration history table to record the baseline state. It won't apply the SQL statements in that baseline file to the corresponding database since the database is the origin source of the baseline and already has all the schema.
@tianzhou ,I need more info about
- does the baseline script need statements?
- should the baseline script be executed?
from bytebase.
I find that baseline SQL script will always be executed, both UI and Git workflow
In bytebase docs, it says
...This is achieved by using a baseline migration script which includes the entire schema of that live database.
...
Internally, the baseline migration only causes Bytebase to update its migration history table to record the baseline state. It won't apply the SQL statements in that baseline file to the corresponding database since the database is the origin source of the baseline and already has all the schema.@tianzhou ,I need more info about
- does the baseline script need statements?
- should the baseline script be executed?
What baseline means is it tells Bytebase the current state of schema (aka establishing the baseline)
So Baseline statement does has statement, it's the statement tells Bytebase the current schema.
But it should NOT be executed.
from bytebase.
Related Issues (20)
- webui suddenly cannot be opened, prompting Failed to download all binlog files for instance HOT 1
- Error sync schema of database clickhouse HOT 1
- Make the GRPC server h2c compatible HOT 2
- Subscribed issue support email delivery
- Support redis6
- CTRL-K not working to open the "kbar" (tested in Chrome,Edge and Firefox)
- Enquiry about RePush of Issue & Disable Sql Advise during Git Review HOT 1
- Editor should escape column names HOT 3
- Can't give access to all users for a project HOT 1
- ERROR: function uuid_generate_v4() does not exist (SQLSTATE 42883) HOT 2
- cant create ldap sso HOT 1
- Make cloud storage backup options available on helm chart
- Image pull secrets support for helm chat
- Extend PostgreSQL support to CockroachDB HOT 1
- Support new databases: Cassandra HOT 6
- Error 404 When Configuring GitOps HOT 3
- Obfuscation not working properly HOT 1
- Feature Request: Support BigQuery HOT 1
- Missing backup/restore feature after upgrade docker into 2.13.2 HOT 5
- pg_dump error with SSL certs after connection 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 bytebase.