kritbit

kritbit Commit Details


Date:2015-11-22 15:17:36 (9 years 8 months ago)
Author:Natalie Adams
Branch:master
Commit:47d3ec2afbe1f257f291af7b241b369e4b3a7158
Parents: 3fb4301b1652ad35c378eb13883716d1026214a8
Message:Updating migrations

Changes:

File differences

web/application/migrations/1.php
44
55
66
7
7
88
99
1010
......
1313
1414
1515
16
16
1717
1818
1919
echo "Creating session table..." . PHP_EOL;
DB::query("CREATE TABLE sessions (
          id INTEGER PRIMARY KEY AUTOINCREMENT,
          id INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT,
          sessionid VARCHAR(255),
          ip VARCHAR(255),
          userAgent VARCHAR(255),
echo "Creating users table..." . PHP_EOL;
DB::query("CREATE TABLE users (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    id INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT,
    email VARCHAR(255)
)");
web/application/migrations/2.php
44
55
66
7
7
88
99
1010
echo "Creating job table..." . PHP_EOL;
DB::query("CREATE TABLE jobs (
          id INTEGER PRIMARY KEY AUTOINCREMENT,
          id INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT,
          jobName VARCHAR(255),
          runType VARCHAR(255),
          runScript TEXT,
web/application/migrations/3.php
44
55
66
7
7
88
99
1010
echo "Creating history table...";
DB::query("CREATE TABLE histories (
            id INTEGER PRIMARY KEY AUTOINCREMENT,
            id INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT,
            output TEXT,
            jobs_id INTEGER,
            run_date DATETIME,

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.32363s using 14 queries.