PHP Classes

File: Schema/Sqlite.php

Recommend this page to a friend!
  Classes of kiran   Kanboard Subtask Date   Schema/Sqlite.php   Download  
File: Schema/Sqlite.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: 3 years ago
Size: 197 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 INTEGER DEFAULT '0'");
}