Skip to content

Commit

Permalink
chore: bump all the cargo.toml and package.json versions for the pack…
Browse files Browse the repository at this point in the history
…ages
  • Loading branch information
Amninder Kaur committed Feb 27, 2024
1 parent c7931bc commit 4bc6697
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 24 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scylla_models/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "scylla_models"
version = "0.1.1"
version = "0.1.23"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
4 changes: 2 additions & 2 deletions scylla_pg_client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scylla_pg_client",
"version": "0.1.22",
"version": "0.1.23",
"description": "Scylla task scheduler, javascript binding.for postgres",
"engines": {
"node": ">=14.16.1",
Expand All @@ -14,7 +14,7 @@
"email": "[email protected]",
"license": "MIT",
"dependencies": {
"scylla_pg_js": "0.1.22"
"scylla_pg_js": "0.1.23"
},
"devDependencies": {
"@ava/typescript": "^4.1.0",
Expand Down
11 changes: 3 additions & 8 deletions scylla_pg_core/src/bin/db_create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,9 @@ async fn main() -> Result<(), tokio_postgres::Error> {
let to_db_config = conf.to_pg_config();
let new_db_client = get_client(&to_db_config).await?;

if template_name.is_some() {
let mig_user = std::env::var("PG_MIG_USER").expect("PG_MIG_USER is required");
log::info!("assigning permissions to database {} for user {} ", conf.pg_database, mig_user);
assign_permissions(&new_db_client, &conf.pg_database, &mig_user).await
} else {
log::info!("no permissions to assign");
Ok(())
}
let mig_user = std::env::var("PG_MIG_USER").expect("PG_MIG_USER is required");
log::info!("assigning permissions to database {} for user {} ", conf.pg_database, mig_user);
assign_permissions(&new_db_client, &conf.pg_database, &mig_user).await
}

async fn create_db(client: &Client, database_name: &str, db_template: &Option<String>) -> Result<(), tokio_postgres::Error> {
Expand Down
2 changes: 1 addition & 1 deletion scylla_pg_js/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "scylla_pg_js"
version = "0.1.22"
version = "0.1.23"
edition = "2021"


Expand Down
16 changes: 8 additions & 8 deletions scylla_pg_js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scylla_pg_js",
"version": "0.1.22",
"version": "0.1.23",
"main": "index.js",
"types": "index.d.ts",
"napi": {
Expand Down Expand Up @@ -38,12 +38,12 @@
},
"packageManager": "[email protected]",
"optionalDependencies": {
"scylla_pg_js-win32-x64-msvc": "0.1.22",
"scylla_pg_js-darwin-x64": "0.1.22",
"scylla_pg_js-linux-x64-gnu": "0.1.22",
"scylla_pg_js-linux-x64-musl": "0.1.22",
"scylla_pg_js-linux-arm64-musl": "0.1.22",
"scylla_pg_js-darwin-arm64": "0.1.22",
"scylla_pg_js-darwin-universal": "0.1.22"
"scylla_pg_js-win32-x64-msvc": "0.1.23",
"scylla_pg_js-darwin-x64": "0.1.23",
"scylla_pg_js-linux-x64-gnu": "0.1.23",
"scylla_pg_js-linux-x64-musl": "0.1.23",
"scylla_pg_js-linux-arm64-musl": "0.1.23",
"scylla_pg_js-darwin-arm64": "0.1.23",
"scylla_pg_js-darwin-universal": "0.1.23"
}
}
2 changes: 1 addition & 1 deletion scylla_pg_lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "scylla_pg_lib"
version = "0.1.1"
version = "0.1.23"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down

0 comments on commit 4bc6697

Please sign in to comment.