1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-16 18:01:38 +00:00

Changed uuid type in database

This commit is contained in:
Nicolas Lœuillet 2016-12-23 09:49:22 +01:00
parent 8137515171
commit 89cd670abf
6 changed files with 5 additions and 11 deletions

View file

@ -33,8 +33,9 @@ class Version20160410190541 extends AbstractMigration implements ContainerAwareI
$this->skipIf($entryTable->hasColumn('uuid'), 'It seems that you already played this migration.');
$entryTable->addColumn('uuid', 'guid', [
$entryTable->addColumn('uuid', 'string', [
'notnull' => false,
'length' => 23,
]);
$this->addSql('INSERT INTO '.$this->getTable('craue_config_setting')." (name, value, section) VALUES ('share_public', '1', 'entry')");
}