databases/p5-DBIx-Admin-CreateTable 2.11 FreeBSD
Create and drop tables, primary indexes, and sequences
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- databases, perl5
- Package size
- 19.6 KiB, 54.0 KiB installed
Description
DBIx::Admin::CreateTable is a pure Perl module.
Database vendors supported: MySQL, Oracle, Postgres, SQLite.
Assumptions:
- Every table has a primary key
- The primary key is a unique, non-null, integer
- The primary key is a single column
- The primary key column is called 'id'
- If a primary key has a corresponding auto-created index, the index is called 't_pkey': This is true for Postgres, where declaring a column as a primary key automatically results in the creation of an associated index for that column. The index is named after the table, not after the column.
- If a table 't' (with primary key 'id') has an associated sequence, the sequence is called 't_id_seq': This is true for both Oracle and Postgres, which use sequences to populate primary key columns. The sequences are named after both the table and the column.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | databases/p5-DBIx-Admin-CreateTable | 2.11 |
| DragonFly | databases/p5-DBIx-Admin-CreateTable | 2.11 |
Install
Binary package:
pkg install p5-DBIx-Admin-CreateTable
From the ports tree:
cd /usr/ports/databases/p5-DBIx-Admin-CreateTable/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-DBIx-Admin-CreateTable>0:databases/p5-DBIx-Admin-CreateTable
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.11 | 2.11 | 2.11 | 2.11 | 2.11 |
| FreeBSD:14:quarterly | 2.11 | 2.11 | n/a | 2.11 | 2.11 |
| FreeBSD:15:latest | 2.11 | 2.11 | n/a | 2.11 | 2.11 |
| FreeBSD:15:quarterly | 2.11 | 2.11 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.11 | 2.11 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
p5-DBI>=0: databases/p5-DBIp5-Moo>=1.004002: devel/p5-Moo
Runtime 2
p5-DBI>=0: databases/p5-DBIp5-Moo>=1.004002: devel/p5-Moo
Test 1
p5-Test-Version>=1.002003: devel/p5-Test-Version
The full lists below include those, and their dependencies in turn.
Build dependencies 7
Run dependencies 7
Configuration
No options to configure.
- USES
- perl5 tar:tgz
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/DBIx/Admin/CreateTable.pm
- %%PERL5_MAN3%%/DBIx::Admin::CreateTable.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| DBIx-Admin-CreateTable-2.11.tgz | 19156 | 07b1427fbc15455657ca57217749004162a50c04abb243022a5b479e4b2a5912 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.