File tree Expand file tree Collapse file tree 3 files changed +0
-115
lines changed Expand file tree Collapse file tree 3 files changed +0
-115
lines changed Original file line number Diff line number Diff line change @@ -309,29 +309,6 @@ pub enum Command {
309
309
#[ clap( subcommand) ]
310
310
Database ( DatabaseCommand ) ,
311
311
312
- /// Delete a deployment and all it's indexed data
313
- ///
314
- /// The deployment can be specified as either a subgraph name, an IPFS
315
- /// hash `Qm..`, or the database namespace `sgdNNN`. Since the same IPFS
316
- /// hash can be deployed in multiple shards, it is possible to specify
317
- /// the shard by adding `:shard` to the IPFS hash.
318
- Drop {
319
- /// The deployment identifier
320
- deployment : DeploymentSearch ,
321
- /// Search only for current version
322
- #[ clap( long, short) ]
323
- current : bool ,
324
- /// Search only for pending versions
325
- #[ clap( long, short) ]
326
- pending : bool ,
327
- /// Search only for used (current and pending) versions
328
- #[ clap( long, short) ]
329
- used : bool ,
330
- /// Skip confirmation prompt
331
- #[ clap( long, short) ]
332
- force : bool ,
333
- } ,
334
-
335
312
/// Deploy a subgraph
336
313
Deploy {
337
314
name : DeploymentSearch ,
@@ -1699,29 +1676,6 @@ async fn main() -> anyhow::Result<()> {
1699
1676
}
1700
1677
}
1701
1678
}
1702
- Drop {
1703
- deployment,
1704
- current,
1705
- pending,
1706
- used,
1707
- force,
1708
- } => {
1709
- let sender = ctx. notification_sender ( ) ;
1710
- let ( store, primary_pool) = ctx. store_and_primary ( ) ;
1711
- let subgraph_store = store. subgraph_store ( ) ;
1712
-
1713
- commands:: drop:: run (
1714
- primary_pool,
1715
- subgraph_store,
1716
- sender,
1717
- deployment,
1718
- current,
1719
- pending,
1720
- used,
1721
- force,
1722
- )
1723
- . await
1724
- }
1725
1679
1726
1680
Deploy {
1727
1681
deployment,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ pub mod create;
7
7
pub mod database;
8
8
pub mod deploy;
9
9
pub mod deployment;
10
- pub mod drop;
11
10
pub mod index;
12
11
pub mod listen;
13
12
pub mod provider_checks;
You can’t perform that action at this time.
0 commit comments