Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Commit

Permalink
rename deploy connector
Browse files Browse the repository at this point in the history
  • Loading branch information
do4gr committed May 5, 2018
1 parent c1b43d4 commit b266bac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package com.prisma.deploy.connector.postgresql
import com.prisma.config.DatabaseConfig
import com.prisma.deploy.connector._
import com.prisma.deploy.connector.postgresql.database.{InternalDatabaseSchema, PostgresDeployDatabaseMutationBuilder, TelemetryTable}
import com.prisma.deploy.connector.postgresql.impls.{PostgresClientDbQueries, DeployMutactionExecutorImpl, MigrationPersistenceImpl, ProjectPersistenceImpl}
import com.prisma.deploy.connector.postgresql.impls.{PostgresClientDbQueries, PostgresDeployMutactionExecutor, MigrationPersistenceImpl, ProjectPersistenceImpl}
import com.prisma.shared.models.{Project, ProjectIdEncoder}
import org.joda.time.DateTime
import slick.dbio.Effect.Read
Expand All @@ -19,7 +19,7 @@ case class PostgresDeployConnector(dbConfig: DatabaseConfig)(implicit ec: Execut

override lazy val projectPersistence: ProjectPersistence = ProjectPersistenceImpl(internalDatabase)
override lazy val migrationPersistence: MigrationPersistence = MigrationPersistenceImpl(internalDatabase)
override lazy val deployMutactionExecutor: DeployMutactionExecutor = DeployMutactionExecutorImpl(internalDatabaseRoot)
override lazy val deployMutactionExecutor: DeployMutactionExecutor = PostgresDeployMutactionExecutor(internalDatabaseRoot)

override def createProjectDatabase(id: String): Future[Unit] = {
val action = PostgresDeployDatabaseMutationBuilder.createClientDatabaseForProject(projectId = id)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import slick.jdbc.PostgresProfile.api._

import scala.concurrent.{ExecutionContext, Future}

case class DeployMutactionExecutorImpl(
case class PostgresDeployMutactionExecutor(
database: Database
)(implicit ec: ExecutionContext)
extends DeployMutactionExecutor {
Expand Down

0 comments on commit b266bac

Please sign in to comment.