mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-22 09:26:27 +02:00
add capacity to modify user
This commit is contained in:
parent
f9e0312c89
commit
4a39865903
12 changed files with 687 additions and 143 deletions
|
@ -39,12 +39,13 @@ class AddQuotas extends AbstractMigration
|
|||
->addColumn('report_unused', 'boolean', ['null' => false])
|
||||
->addColumn('report_unused_additional', 'boolean', ['null' => false])
|
||||
->addColumn('auto_renew', 'boolean', ['null' => false, 'default' => false])
|
||||
->addColumn('renew_interval', 'string', ['null' => true, 'default' => NULL])
|
||||
->addColumn('renew_interval', 'string', ['null' => false, 'default' => NULL])
|
||||
->addColumn('start_date', 'datetime', ['null' => false])
|
||||
->addColumn('expiration_date', 'datetime', ['null' => true])
|
||||
->addColumn('expiration_date', 'datetime', ['null' => false])
|
||||
->addColumn('created_at', 'timestamp', ['null' => false, 'default' => 'CURRENT_TIMESTAMP'])
|
||||
->addColumn('updated_at', 'timestamp', ['null' => true, 'update' => 'CURRENT_TIMESTAMP'])
|
||||
->addForeignKey('id_user', 'user', 'id', ['delete' => 'CASCADE', 'update' => 'CASCADE'])
|
||||
->addIndex(['id_user'], ['unique' => true])
|
||||
->create();
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue