Agenturdatensatz abgeändert usw.

This commit is contained in:
holger.trampe 2021-06-04 17:02:20 +02:00
parent 2760850c63
commit 9cbd03ce17
1 changed files with 9 additions and 12 deletions

View File

@ -27,7 +27,7 @@
'notnull' => true, 'notnull' => true,
]); ]);
$table->addColumn('name', 'string', [ $table->addColumn('name', 'string', [
'notnull' => true, 'notnull' => false,
'length' => 200 'length' => 200
]); ]);
@ -61,24 +61,21 @@
'length' => 200 'length' => 200
]); ]);
$table->setPrimaryKey(['id']); $table->addColumn('agencygid', 'string', [
}
if (!$schema->hasTable('agency_user')) {
$table = $schema->createTable('agency_user');
$table->addColumn('id', 'integer', [
'autoincrement' => true,
'notnull' => true, 'notnull' => true,
'default' => '',
'length' => 200
]); ]);
$table->addColumn('agency', 'integer', [ $table->addColumn('agencydirid', 'string', [
'notnull' => true, 'notnull' => true,
'length' => 64 'default' => '',
'length' => 200
]); ]);
$table->addColumn('user', 'string', [ $table->addColumn('standarddirid', 'string', [
'notnull' => true, 'notnull' => true,
'default' => '',
'length' => 200 'length' => 200
]); ]);