PHP Classes

File: Schema/Postgres.php

Recommend this page to a friend!
  Classes of kiran  >  Kanboard Subtask Date  >  Schema/Postgres.php  >  Download  
File: Schema/Postgres.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Kanboard Subtask Date
Kanboard plugin to add due date to sub-tasks
Author: By
Last change:
Date: 9 months ago
Size: 193 bytes
 

Contents

Class file image Download
<?php

namespace Kanboard\Plugin\Subtaskdate\Schema;

use
PDO;

const
VERSION = 1;

function
version_1(PDO $pdo)
{
   
$pdo->exec("ALTER TABLE subtasks ADD COLUMN due_date INT DEFAULT '0'");
}

For more information send a message to info at phpclasses dot org.