rubenv / rubenv/sql-migrate

Oracle Db dosn`t suport by config

Open
#153 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
3.4k
Forks
292
PR merge metrics
No merged PRs in 30d

Description

Hi, I found in config.go struct of supports dialect, and where is oracle?
var dialects = map[string]gorp.Dialect{ "sqlite3": gorp.SqliteDialect{}, "postgres": gorp.PostgresDialect{}, "mysql": gorp.MySQLDialect{Engine: "InnoDB", Encoding: "UTF8"}, }

I think need to add
"oci8": gorp.OracleDialect{},

and please add some info in docs for oracle and some examples for dbconfig.yml
mostly interested datasource for oracle

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in config.go at the dialects map and review how the existing sqlite3, postgres, and mysql entries are configured. Add Oracle support if the requested dialect is compatible, then update the documentation with Oracle setup and dbconfig.yml datasource examples; done means both configuration and documentation cover the requested Oracle use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
database
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.