Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PostgreSQL and MySQL support #128

Merged
merged 2 commits into from
Jan 13, 2015
Merged

PostgreSQL and MySQL support #128

merged 2 commits into from
Jan 13, 2015

Conversation

ancorgs
Copy link
Contributor

@ancorgs ancorgs commented Jan 13, 2015

  • Tested PostgreSQL (fresh install) and SQLite (both fresh and update)
  • t_created and t_updated are now managed in Perl code
    (custom DBIx::Class:Timestamps module) instead of database triggers
  • A new configuration file introduced: /etc/openqa/database.ini
  • Some dependencies introduced
    DBIx::Class::DynamicDefault, DBIx::Class::Schema::Config, Config::Tiny (needed by Schema::Config to read database.ini), DBD::Pg (optional), DateTime::Format::Pg (optional), DBD::MySQL (optional), DateTime::Format::MySQL (optional)

 * Tested PostgreSQL (fresh install) and SQLite (both fresh and update)
 * t_created and t_updated are now managed in Perl code
   (custom DBIx::Class:Timestamps module) instead of database triggers
 * A new configuration file introduced: /etc/openqa/database.ini
 * Some dependencies introduced
    DBIx::Class::DynamicDefault, DBIx::Class::Schema::Config,
    Config::Tiny (needed by Schema::Config to read database.ini)
    DBD::Pg (optional), DateTime::Format::Pg (optional)
    DBD::MySQL (optional), DateTime::Format::MySQL (optional)
@coolo
Copy link
Contributor

coolo commented Jan 13, 2015

you need to add them to DEPENDENCIES.txt

@ancorgs
Copy link
Contributor Author

ancorgs commented Jan 13, 2015

Added dependencies. Let's see. We could probably live without DBIx::Class::Schema::Config (and thus Config::Tiny which is redundant with Config::IniFiles), but that would need some real Perl developer so implement something to replace our usage of DBIx::Class::Schema::Config. Sure it's not a big deal for, let's say, @lnussel

coolo added a commit that referenced this pull request Jan 13, 2015
PostgreSQL and MySQL support
@coolo coolo merged commit df90f02 into os-autoinst:master Jan 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants