BSD Ports

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

SystemPortVersion
FreeBSDdatabases/p5-DBIx-Admin-CreateTable2.11
DragonFlydatabases/p5-DBIx-Admin-CreateTable2.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.112.112.112.112.11
FreeBSD:14:quarterly2.112.11n/a2.112.11
FreeBSD:15:latest2.112.11n/a2.112.11
FreeBSD:15:quarterly2.112.11n/an/an/a
FreeBSD:16:latest2.112.11n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

Test 1

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
FileSizeSHA256
DBIx-Admin-CreateTable-2.11.tgz1915607b1427fbc15455657ca57217749004162a50c04abb243022a5b479e4b2a5912
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.