Skip to content

Commit 0506405

Browse files
author
Jannis Pohlmann
committed
store/postgres: Rename thegraph-store-postgres-diesel to thegraph-store-postgres
1 parent 5d19c13 commit 0506405

File tree

20 files changed

+10
-10
lines changed

20 files changed

+10
-10
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ members = [
77
"node",
88
"runtime/wasm",
99
"server/hyper",
10-
"store/postgres-diesel",
10+
"store/postgres",
1111
"thegraph",
1212
]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Right now, this includes:
2020
- `mock` — A library providing mock implementations for all system components.
2121
- `runtime/wasm` — A library for running WASM data extraction scripts.
2222
- `server/hyper` — A library providing a GraphQL server based on Hyper.
23-
- `store/postgres-diesel` — A Postgres store with a GraphQL friendly interface
23+
- `store/postgres` — A Postgres store with a GraphQL friendly interface
2424
and audit logs.
2525

2626
## Prerequisites

node/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ thegraph-datasource-ethereum = { path = "../datasource/ethereum" }
1818
thegraph-mock = { path = "../mock" }
1919
thegraph-runtime-wasm = { path = "../runtime/wasm" }
2020
thegraph-server-hyper = { path = "../server/hyper" }
21-
thegraph-store-postgres-diesel = { path = "../store/postgres-diesel" }
21+
thegraph-store-postgres = { path = "../store/postgres" }
2222

2323
[dev-dependencies]
2424
assert_cli = "0.6"

node/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ extern crate thegraph_datasource_ethereum;
1313
extern crate thegraph_mock;
1414
extern crate thegraph_runtime_wasm;
1515
extern crate thegraph_server_hyper;
16-
extern crate thegraph_store_postgres_diesel;
16+
extern crate thegraph_store_postgres;
1717
extern crate tokio;
1818
extern crate tokio_core;
1919

@@ -35,7 +35,7 @@ use thegraph_datasource_ethereum::Transport;
3535
use thegraph_node::DataSourceProvider as IpfsDataSourceProvider;
3636
use thegraph_runtime_wasm::RuntimeHostBuilder as WASMRuntimeHostBuilder;
3737
use thegraph_server_hyper::GraphQLServer as HyperGraphQLServer;
38-
use thegraph_store_postgres_diesel::{Store as DieselStore, StoreConfig};
38+
use thegraph_store_postgres::{Store as DieselStore, StoreConfig};
3939

4040
fn main() {
4141
env_logger::init();

store/postgres-diesel/Cargo.toml renamed to store/postgres/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "thegraph-store-postgres-diesel"
2+
name = "thegraph-store-postgres"
33
version = "0.1.0"
44

55
[dependencies]
File renamed without changes.
File renamed without changes.
File renamed without changes.

store/postgres-diesel/tests/store.rs renamed to store/postgres/tests/store.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
extern crate diesel;
22
extern crate serde_json;
33
extern crate thegraph;
4-
extern crate thegraph_store_postgres_diesel;
4+
extern crate thegraph_store_postgres;
55
extern crate tokio_core;
66
#[macro_use]
77
extern crate slog;
@@ -14,7 +14,7 @@ use tokio_core::reactor::Core;
1414

1515
use thegraph::components::store::{StoreFilter, StoreKey, StoreOrder, StoreQuery, StoreRange};
1616
use thegraph::prelude::*;
17-
use thegraph_store_postgres_diesel::{db_schema, Store as DieselStore, StoreConfig};
17+
use thegraph_store_postgres::{db_schema, Store as DieselStore, StoreConfig};
1818

1919
/// Helper function to ensure and obtain the Postgres URL to use for testing.
2020
fn postgres_test_url() -> String {

0 commit comments

Comments
 (0)