[Bridge] Replace zero dates with CURRENT_TIMESTAMP
This commit is contained in:
@@ -110,7 +110,7 @@ class ForeignService
|
||||
'id' => ['type' => 'int', 'not null' => true, 'description' => 'numeric key for service'],
|
||||
'name' => ['type' => 'varchar', 'length' => 32, 'not null' => true, 'description' => 'name of the service'],
|
||||
'description' => ['type' => 'varchar', 'length' => 191, 'description' => 'description'],
|
||||
'created' => ['type' => 'datetime', 'not null' => true, 'default' => '0000-00-00 00:00:00', 'description' => 'date this record was created'],
|
||||
'created' => ['type' => 'datetime', 'not null' => true, 'default' => 'CURRENT_TIMESTAMP', 'description' => 'date this record was created'],
|
||||
'modified' => ['type' => 'timestamp', 'not null' => true, 'description' => 'date this record was modified'],
|
||||
],
|
||||
'primary key' => ['id'],
|
||||
|
Reference in New Issue
Block a user