{"id":18779443,"url":"https://github.com/zostay/class-dbi-ddl","last_synced_at":"2025-12-18T00:30:20.455Z","repository":{"id":66557980,"uuid":"2608840","full_name":"zostay/Class-DBI-DDL","owner":"zostay","description":"An old DDL generator for Class::DBI","archived":false,"fork":false,"pushed_at":"2011-10-19T20:27:54.000Z","size":104,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-29T10:29:22.269Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zostay.png","metadata":{"files":{"readme":"README","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-10-19T20:27:10.000Z","updated_at":"2014-09-08T23:34:33.000Z","dependencies_parsed_at":"2023-02-20T06:31:27.791Z","dependency_job_id":null,"html_url":"https://github.com/zostay/Class-DBI-DDL","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zostay%2FClass-DBI-DDL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zostay%2FClass-DBI-DDL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zostay%2FClass-DBI-DDL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zostay%2FClass-DBI-DDL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zostay","download_url":"https://codeload.github.com/zostay/Class-DBI-DDL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239690655,"owners_count":19681138,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T20:20:13.211Z","updated_at":"2025-12-18T00:30:20.421Z","avatar_url":"https://github.com/zostay.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"Class::DBI::DDL\n===============\n\nThis package is an extension to Class::DBI that gives it the ability to create\nor drop the table automatically.\n\nInstallation\n------------\n\nThis uses the typical Module::Build formula:\n\n  perl Build.PL\n  ./Build\n  ./Build test\n  ./Build install\n\nTesting\n-------\n\nThe tests will be skipped unless you set things up so that they run. (That is,\nI don't want to see a bunch of FAIL reports on CPAN because not everyone has\nPostgreSQL, MySQL, and the SQLite modules installed and a test database setup.)\n\nIt will not run the PostgreSQL or MySQL tests without being told to. It will run\nthe SQLite tests if it can find the modules to do so. (The reasoning is that if\nI just try to connect to some database that you might actually have setup, I\ncould crap all over your setup and I don't want to do that unless you ask for\nit.) So, if you want testing, you need to set at least the following environment\nvariables:\n\nCLASS_DBI_DDL_PG=1\nCLASS_DBI_DDL_MYSQL=1\n\nPostgreSQL\n~~~~~~~~~~\n\nIn addition, you can set additional variables to specify how to run the test.\nHere are the other variables and the values picked if you don't set any:\n\nCLASS_DBI_DDL_PG_DATABASE=dbi:Pg:dbname=testdb\nCLASS_DBI_DDL_PG_USERNAME=testuser\nCLASS_DBI_DDL_PG_PASSWORD=testpass\n\nMySQL\n~~~~~\n\nIn addition, you can set additional variables to specify how to run the test.\nHere are the other variables and the values picked if you don't set any:\n\nCLASS_DBI_DDL_MYSQL_DATABASE=dbi:mysql:testdb\nCLASS_DBI_DDL_MYSQL_USERNAME=testuser\nCLASS_DBI_DDL_MYSQL_PASSWORD=testpass\n\nSQLite\n~~~~~~\n\nThe database will always be \"dbi:SQLite:testdb\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzostay%2Fclass-dbi-ddl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzostay%2Fclass-dbi-ddl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzostay%2Fclass-dbi-ddl/lists"}