Skip to content

Why MyISAM specified ? #2

Open
Open
@JarvisChu

Description

@JarvisChu

Hi, I notice that in NewStoreWithDB function, MyISAM is specified to to create table.
Would you please expain why MyISAM is needed?

func NewStoreWithDB(db *sql.DB, tableName string, gcInterval int) *Store {
    store := &Store{
	db:        &gorp.DbMap{Db: db, Dialect: gorp.MySQLDialect{Encoding: "UTF8", Engine: "MyISAM"}},
	tableName: "oauth2_token",
	stdout:    os.Stderr,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions