Skip to content

Commit

Permalink
hide urls
Browse files Browse the repository at this point in the history
  • Loading branch information
egorkaway committed Aug 10, 2024
1 parent 32c1da8 commit e0480ba
Show file tree
Hide file tree
Showing 9 changed files with 2,360 additions and 2,189 deletions.
4 changes: 2 additions & 2 deletions code/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (

// Source and destination database connection URLs
const (
sourceDBURL = "postgres://default:d1zWD7hyUFEx@ep-broken-tree-05982655-pooler.eu-central-1.aws.neon.tech:5432/verceldb?sslmode=require&options=endpoint%3Dep-broken-tree-05982655"
destDBURL = "postgresql://postgres.ylbjmqqjqifpfqcwtrpn:[email protected].supabase.com:6543/postgres?sslmode=require"
sourceDBURL = "verceldb"
destDBURL = "supabase"
)

func fetchDataFromSource(db *sql.DB) ([][]interface{}, error) {
Expand Down
2 changes: 1 addition & 1 deletion code/populate9.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

// Database connection URL
const dbURL = "postgresql://postgres.ylbjmqqjqifpfqcwtrpn:[email protected]:6543/postgres?sslmode=require"
const dbURL = "sup"

func connectDB() (*sql.DB, error) {
return sql.Open("postgres", dbURL)
Expand Down
Loading

0 comments on commit e0480ba

Please sign in to comment.