Agenturdatensatz abgeändert usw.
This commit is contained in:
parent
2760850c63
commit
9cbd03ce17
|
|
@ -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
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue