Fix mirations for extra fields - refs #8200

pull/2487/head
Angel Fernando Quiroz Campos 9 years ago
parent 71a362890b
commit f1c94b89ed
  1. 4
      app/Migrations/Schema/V110/Version20150609113500.php
  2. 4
      app/Migrations/Schema/V110/Version20150616093200.php
  3. 4
      app/Migrations/Schema/V110/Version20150624164100.php
  4. 4
      app/Migrations/Schema/V110/Version20150625155000.php

@ -17,8 +17,8 @@ class Version20150609113500 extends AbstractMigrationChamilo
public function up(Schema $schema)
{
$this->addSql("INSERT INTO extra_field
(extra_field_type, field_type, variable, display_text, visible, changeable)
VALUES (2, 10, 'tags', 'Tags', 1, 1)");
(extra_field_type, field_type, variable, display_text, visible, changeable, created_at)
VALUES (2, 10, 'tags', 'Tags', 1, 1, NOW())");
}
/**

@ -17,8 +17,8 @@ class Version20150616093200 extends AbstractMigrationChamilo
public function up(Schema $schema)
{
$this->addSql("INSERT INTO extra_field (
extra_field_type, field_type, variable, display_text, visible, changeable)
VALUES (2, 19, 'video_url', 'VideoUrl', 1, 1)");
extra_field_type, field_type, variable, display_text, visible, changeable, created_at)
VALUES (2, 19, 'video_url', 'VideoUrl', 1, 1, NOW())");
}
/**

@ -17,8 +17,8 @@ class Version20150624164100 extends AbstractMigrationChamilo
public function up(Schema $schema)
{
$this->addSql("INSERT INTO extra_field
(extra_field_type, field_type, variable, display_text, visible, changeable)
VALUES (3, 16, 'image', 'Image', 1, 1)");
(extra_field_type, field_type, variable, display_text, visible, changeable, created_at)
VALUES (3, 16, 'image', 'Image', 1, 1, NOW())");
}
/**

@ -17,8 +17,8 @@ class Version20150625155000 extends AbstractMigrationChamilo
public function up(Schema $schema)
{
$this->addSql("INSERT INTO extra_field
(extra_field_type, field_type, variable, display_text, visible, changeable)
VALUES (1, 1, 'captcha_blocked_until_date', 'Account locked until', 0, 0)");
(extra_field_type, field_type, variable, display_text, visible, changeable, created_at)
VALUES (1, 1, 'captcha_blocked_until_date', 'Account locked until', 0, 0, NOW())");
}
/**

Loading…
Cancel
Save