Comments (6)
Well, ok, it seems that the events
folder does not exist because it is not created on the Git filesystem. Will make a fix asap.
from surrealdb-migrations.
Hi @snarkipus
The .surrealdb
configuration file is not required unless you want to put your migration project inside a nested folder. In that case, specifying the path is only possible with the configuration file. I can see you created your migration project at the root of your repository so you don't have to write a configuration.
About the failure on the CI, can you make sure you are running the cli on the root folder? (where the Cargo.toml file is)
from surrealdb-migrations.
About the failure on the CI, can you make sure you are running the cli on the root folder? (where the Cargo.toml file is)
Hey @Odonno - in CI, I'm not actually invoking the CLI. I'm just calling the crate directly in the code.
from surrealdb-migrations.
I made a very simple repro project using the blog template and running integration test in the GitHub Actions CI. It works without error.
I will try to look into your code but right now, I do not see what can go wrong.
from surrealdb-migrations.
The error Path does not directory
is an error from the fs_extra
crate (https://github.com/webdesus/fs_extra/blob/master/src/dir.rs#L448). So clearly, there is something wrong with the filesystem. But the question is still why?
from surrealdb-migrations.
Thanks @Odonno ! I'll report back if there's any more issues.
from surrealdb-migrations.
Related Issues (20)
- Migrate tests to cargo-nextest
- Split test library
- Running `cargo install surrealdb-migrations` currently fails HOT 2
- Running large migration file fails HOT 3
- Beta and nightly version support HOT 3
- Thankyou HOT 3
- Feature: Seeding HOT 3
- Feature: Publish to Homebrew
- Unable to install surrealdb-migrations error[E0658]: use of unstable library feature 'stdsimd' HOT 4
- Feature: use local config files HOT 2
- Bug: `READONLY` keyword HOT 1
- Provide a way to load migrations from a dir at runtime (not embedded) HOT 10
- Crate documentation not build for 1.2.0 HOT 2
- "`sql2` is currently unstable. You need to enable the `surrealdb_unstable` flag to use it." HOT 7
- find alternative to 'names' crate HOT 2
- Failed to apply database migrations: _initial.json file not found in the migrations/definitions directory HOT 7
- Running `cargo install surrealdb-migrations' fails HOT 3
- Make new release for SurrealDB 1.4.0 HOT 2
- Cannot create JWKS token HOT 1
- Unable to install via Cargo HOT 4
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 surrealdb-migrations.