diff --git a/app/AppKernel.php b/app/AppKernel.php index 49fa758..694ca22 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -18,6 +18,7 @@ class AppKernel extends Kernel new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(), new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(), new Misd\GuzzleBundle\MisdGuzzleBundle(), + new Ob\HighchartsBundle\ObHighchartsBundle(), new Skobkin\Bundle\PointToolsBundle\SkobkinPointToolsBundle(), ); diff --git a/app/DoctrineMigrations/Version20151001210600.php b/app/DoctrineMigrations/Version20151001210600.php new file mode 100644 index 0000000..101a533 --- /dev/null +++ b/app/DoctrineMigrations/Version20151001210600.php @@ -0,0 +1,34 @@ +abortIf($this->connection->getDatabasePlatform()->getName() != 'postgresql', 'Migration can only be executed safely on \'postgresql\'.'); + + $this->addSql('DROP INDEX users.uniq_338adfc4aa08cb10'); + } + + /** + * @param Schema $schema + */ + public function down(Schema $schema) + { + // this down() migration is auto-generated, please modify it to your needs + $this->abortIf($this->connection->getDatabasePlatform()->getName() != 'postgresql', 'Migration can only be executed safely on \'postgresql\'.'); + + $this->addSql('CREATE UNIQUE INDEX uniq_338adfc4aa08cb10 ON users.users (login)'); + } +} diff --git a/app/Resources/views/base.html.twig b/app/Resources/views/base.html.twig index 9afff0b..875f8f1 100644 --- a/app/Resources/views/base.html.twig +++ b/app/Resources/views/base.html.twig @@ -26,6 +26,7 @@