diff --git a/src/CompositeDataSource/Course/CourseTable.php b/src/CompositeDataSource/Course/CourseTable.php index e7d0f22..cf8a8f9 100644 --- a/src/CompositeDataSource/Course/CourseTable.php +++ b/src/CompositeDataSource/Course/CourseTable.php @@ -17,6 +17,8 @@ */ class CourseTable extends Table { + const DRIVER = 'sqlite'; + const NAME = 'courses'; const COLUMNS = [ @@ -29,6 +31,7 @@ class CourseTable extends Table 'default' => null, 'autoinc' => false, 'primary' => true, + 'options' => null, ], 'course_number' => [ 'name' => 'course_number', @@ -39,6 +42,7 @@ class CourseTable extends Table 'default' => null, 'autoinc' => false, 'primary' => true, + 'options' => null, ], 'title' => [ 'name' => 'title', @@ -49,6 +53,7 @@ class CourseTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], ]; diff --git a/src/CompositeDataSource/Degree/DegreeTable.php b/src/CompositeDataSource/Degree/DegreeTable.php index 8bd7672..d6a7fe6 100644 --- a/src/CompositeDataSource/Degree/DegreeTable.php +++ b/src/CompositeDataSource/Degree/DegreeTable.php @@ -17,6 +17,8 @@ */ class DegreeTable extends Table { + const DRIVER = 'sqlite'; + const NAME = 'degrees'; const COLUMNS = [ @@ -29,6 +31,7 @@ class DegreeTable extends Table 'default' => null, 'autoinc' => false, 'primary' => true, + 'options' => null, ], 'degree_subject' => [ 'name' => 'degree_subject', @@ -39,6 +42,7 @@ class DegreeTable extends Table 'default' => null, 'autoinc' => false, 'primary' => true, + 'options' => null, ], 'title' => [ 'name' => 'title', @@ -49,6 +53,7 @@ class DegreeTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], ]; diff --git a/src/CompositeDataSource/Enrollment/EnrollmentTable.php b/src/CompositeDataSource/Enrollment/EnrollmentTable.php index 6f2023a..a6868d1 100644 --- a/src/CompositeDataSource/Enrollment/EnrollmentTable.php +++ b/src/CompositeDataSource/Enrollment/EnrollmentTable.php @@ -17,6 +17,8 @@ */ class EnrollmentTable extends Table { + const DRIVER = 'sqlite'; + const NAME = 'enrollments'; const COLUMNS = [ @@ -29,6 +31,7 @@ class EnrollmentTable extends Table 'default' => null, 'autoinc' => false, 'primary' => true, + 'options' => null, ], 'student_ln' => [ 'name' => 'student_ln', @@ -39,6 +42,7 @@ class EnrollmentTable extends Table 'default' => null, 'autoinc' => false, 'primary' => true, + 'options' => null, ], 'course_subject' => [ 'name' => 'course_subject', @@ -49,6 +53,7 @@ class EnrollmentTable extends Table 'default' => null, 'autoinc' => false, 'primary' => true, + 'options' => null, ], 'course_number' => [ 'name' => 'course_number', @@ -59,6 +64,7 @@ class EnrollmentTable extends Table 'default' => null, 'autoinc' => false, 'primary' => true, + 'options' => null, ], 'grade' => [ 'name' => 'grade', @@ -69,6 +75,7 @@ class EnrollmentTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], 'points' => [ 'name' => 'points', @@ -79,6 +86,7 @@ class EnrollmentTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], ]; diff --git a/src/CompositeDataSource/Gpa/GpaTable.php b/src/CompositeDataSource/Gpa/GpaTable.php index 50bf93a..76de1e9 100644 --- a/src/CompositeDataSource/Gpa/GpaTable.php +++ b/src/CompositeDataSource/Gpa/GpaTable.php @@ -17,6 +17,8 @@ */ class GpaTable extends Table { + const DRIVER = 'sqlite'; + const NAME = 'gpas'; const COLUMNS = [ @@ -29,6 +31,7 @@ class GpaTable extends Table 'default' => null, 'autoinc' => false, 'primary' => true, + 'options' => null, ], 'student_ln' => [ 'name' => 'student_ln', @@ -39,6 +42,7 @@ class GpaTable extends Table 'default' => null, 'autoinc' => false, 'primary' => true, + 'options' => null, ], 'gpa' => [ 'name' => 'gpa', @@ -49,6 +53,7 @@ class GpaTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], ]; diff --git a/src/CompositeDataSource/Student/StudentTable.php b/src/CompositeDataSource/Student/StudentTable.php index bdef7fa..efbb807 100644 --- a/src/CompositeDataSource/Student/StudentTable.php +++ b/src/CompositeDataSource/Student/StudentTable.php @@ -17,6 +17,8 @@ */ class StudentTable extends Table { + const DRIVER = 'sqlite'; + const NAME = 'students'; const COLUMNS = [ @@ -29,6 +31,7 @@ class StudentTable extends Table 'default' => null, 'autoinc' => false, 'primary' => true, + 'options' => null, ], 'student_ln' => [ 'name' => 'student_ln', @@ -39,6 +42,7 @@ class StudentTable extends Table 'default' => null, 'autoinc' => false, 'primary' => true, + 'options' => null, ], 'degree_type' => [ 'name' => 'degree_type', @@ -49,6 +53,7 @@ class StudentTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], 'degree_subject' => [ 'name' => 'degree_subject', @@ -59,6 +64,7 @@ class StudentTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], ]; diff --git a/src/DataSource/Author/AuthorTable.php b/src/DataSource/Author/AuthorTable.php index f061210..9002b68 100644 --- a/src/DataSource/Author/AuthorTable.php +++ b/src/DataSource/Author/AuthorTable.php @@ -17,6 +17,8 @@ */ class AuthorTable extends Table { + const DRIVER = 'sqlite'; + const NAME = 'authors'; const COLUMNS = [ @@ -29,6 +31,7 @@ class AuthorTable extends Table 'default' => null, 'autoinc' => true, 'primary' => true, + 'options' => null, ], 'name' => [ 'name' => 'name', @@ -39,6 +42,7 @@ class AuthorTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], ]; diff --git a/src/DataSource/Bidibar/BidibarTable.php b/src/DataSource/Bidibar/BidibarTable.php index 8aa87be..72c310b 100644 --- a/src/DataSource/Bidibar/BidibarTable.php +++ b/src/DataSource/Bidibar/BidibarTable.php @@ -17,6 +17,8 @@ */ class BidibarTable extends Table { + const DRIVER = 'sqlite'; + const NAME = 'bidibars'; const COLUMNS = [ @@ -29,6 +31,7 @@ class BidibarTable extends Table 'default' => null, 'autoinc' => true, 'primary' => true, + 'options' => null, ], 'bidifoo_id' => [ 'name' => 'bidifoo_id', @@ -39,6 +42,7 @@ class BidibarTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], 'name' => [ 'name' => 'name', @@ -49,6 +53,7 @@ class BidibarTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], ]; diff --git a/src/DataSource/Bidifoo/BidifooTable.php b/src/DataSource/Bidifoo/BidifooTable.php index 48ffdc9..af49ded 100644 --- a/src/DataSource/Bidifoo/BidifooTable.php +++ b/src/DataSource/Bidifoo/BidifooTable.php @@ -17,6 +17,8 @@ */ class BidifooTable extends Table { + const DRIVER = 'sqlite'; + const NAME = 'bidifoos'; const COLUMNS = [ @@ -29,6 +31,7 @@ class BidifooTable extends Table 'default' => null, 'autoinc' => true, 'primary' => true, + 'options' => null, ], 'bidibar_id' => [ 'name' => 'bidibar_id', @@ -39,6 +42,7 @@ class BidifooTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], 'name' => [ 'name' => 'name', @@ -49,6 +53,7 @@ class BidifooTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], ]; diff --git a/src/DataSource/Comment/CommentTable.php b/src/DataSource/Comment/CommentTable.php index a4fcd0f..a786402 100644 --- a/src/DataSource/Comment/CommentTable.php +++ b/src/DataSource/Comment/CommentTable.php @@ -17,6 +17,8 @@ */ class CommentTable extends Table { + const DRIVER = 'sqlite'; + const NAME = 'comments'; const COLUMNS = [ @@ -29,6 +31,7 @@ class CommentTable extends Table 'default' => null, 'autoinc' => true, 'primary' => true, + 'options' => null, ], 'related_type' => [ 'name' => 'related_type', @@ -39,6 +42,7 @@ class CommentTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], 'related_id' => [ 'name' => 'related_id', @@ -49,6 +53,7 @@ class CommentTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], 'body' => [ 'name' => 'body', @@ -59,6 +64,7 @@ class CommentTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], ]; diff --git a/src/DataSource/Employee/EmployeeTable.php b/src/DataSource/Employee/EmployeeTable.php index dc5e9a8..fb39725 100644 --- a/src/DataSource/Employee/EmployeeTable.php +++ b/src/DataSource/Employee/EmployeeTable.php @@ -17,6 +17,8 @@ */ class EmployeeTable extends Table { + const DRIVER = 'sqlite'; + const NAME = 'employee'; const COLUMNS = [ @@ -29,6 +31,7 @@ class EmployeeTable extends Table 'default' => null, 'autoinc' => true, 'primary' => true, + 'options' => null, ], 'name' => [ 'name' => 'name', @@ -39,6 +42,7 @@ class EmployeeTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], 'building' => [ 'name' => 'building', @@ -49,6 +53,7 @@ class EmployeeTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], 'floor' => [ 'name' => 'floor', @@ -59,6 +64,7 @@ class EmployeeTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], ]; diff --git a/src/DataSource/Page/PageTable.php b/src/DataSource/Page/PageTable.php index 60ac673..22deb74 100644 --- a/src/DataSource/Page/PageTable.php +++ b/src/DataSource/Page/PageTable.php @@ -17,6 +17,8 @@ */ class PageTable extends Table { + const DRIVER = 'sqlite'; + const NAME = 'pages'; const COLUMNS = [ @@ -29,6 +31,7 @@ class PageTable extends Table 'default' => null, 'autoinc' => true, 'primary' => true, + 'options' => null, ], 'title' => [ 'name' => 'title', @@ -39,6 +42,7 @@ class PageTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], 'body' => [ 'name' => 'body', @@ -49,6 +53,7 @@ class PageTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], ]; diff --git a/src/DataSource/Post/PostTable.php b/src/DataSource/Post/PostTable.php index 60e0286..9885d79 100644 --- a/src/DataSource/Post/PostTable.php +++ b/src/DataSource/Post/PostTable.php @@ -17,6 +17,8 @@ */ class PostTable extends Table { + const DRIVER = 'sqlite'; + const NAME = 'posts'; const COLUMNS = [ @@ -29,6 +31,7 @@ class PostTable extends Table 'default' => null, 'autoinc' => true, 'primary' => true, + 'options' => null, ], 'subj' => [ 'name' => 'subj', @@ -39,6 +42,7 @@ class PostTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], 'body' => [ 'name' => 'body', @@ -49,6 +53,7 @@ class PostTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], ]; diff --git a/src/DataSource/Reply/ReplyTable.php b/src/DataSource/Reply/ReplyTable.php index 21e60d7..90dbcef 100644 --- a/src/DataSource/Reply/ReplyTable.php +++ b/src/DataSource/Reply/ReplyTable.php @@ -17,6 +17,8 @@ */ class ReplyTable extends Table { + const DRIVER = 'sqlite'; + const NAME = 'replies'; const COLUMNS = [ @@ -29,6 +31,7 @@ class ReplyTable extends Table 'default' => null, 'autoinc' => true, 'primary' => true, + 'options' => null, ], 'thread_id' => [ 'name' => 'thread_id', @@ -39,6 +42,7 @@ class ReplyTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], 'author_id' => [ 'name' => 'author_id', @@ -49,6 +53,7 @@ class ReplyTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], 'body' => [ 'name' => 'body', @@ -59,6 +64,7 @@ class ReplyTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], ]; diff --git a/src/DataSource/Summary/SummaryTable.php b/src/DataSource/Summary/SummaryTable.php index 8b376be..d199775 100644 --- a/src/DataSource/Summary/SummaryTable.php +++ b/src/DataSource/Summary/SummaryTable.php @@ -17,6 +17,8 @@ */ class SummaryTable extends Table { + const DRIVER = 'sqlite'; + const NAME = 'summaries'; const COLUMNS = [ @@ -29,6 +31,7 @@ class SummaryTable extends Table 'default' => null, 'autoinc' => true, 'primary' => true, + 'options' => null, ], 'thread_id' => [ 'name' => 'thread_id', @@ -39,6 +42,7 @@ class SummaryTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], 'reply_count' => [ 'name' => 'reply_count', @@ -49,6 +53,7 @@ class SummaryTable extends Table 'default' => '0', 'autoinc' => false, 'primary' => false, + 'options' => null, ], 'view_count' => [ 'name' => 'view_count', @@ -59,6 +64,7 @@ class SummaryTable extends Table 'default' => '0', 'autoinc' => false, 'primary' => false, + 'options' => null, ], ]; diff --git a/src/DataSource/Tag/TagTable.php b/src/DataSource/Tag/TagTable.php index da6df1d..73ebb95 100644 --- a/src/DataSource/Tag/TagTable.php +++ b/src/DataSource/Tag/TagTable.php @@ -17,6 +17,8 @@ */ class TagTable extends Table { + const DRIVER = 'sqlite'; + const NAME = 'tags'; const COLUMNS = [ @@ -29,6 +31,7 @@ class TagTable extends Table 'default' => null, 'autoinc' => true, 'primary' => true, + 'options' => null, ], 'name' => [ 'name' => 'name', @@ -39,6 +42,7 @@ class TagTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], ]; diff --git a/src/DataSource/Tagging/TaggingTable.php b/src/DataSource/Tagging/TaggingTable.php index bf41df0..efbb256 100644 --- a/src/DataSource/Tagging/TaggingTable.php +++ b/src/DataSource/Tagging/TaggingTable.php @@ -17,6 +17,8 @@ */ class TaggingTable extends Table { + const DRIVER = 'sqlite'; + const NAME = 'taggings'; const COLUMNS = [ @@ -29,6 +31,7 @@ class TaggingTable extends Table 'default' => null, 'autoinc' => true, 'primary' => true, + 'options' => null, ], 'thread_id' => [ 'name' => 'thread_id', @@ -39,6 +42,7 @@ class TaggingTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], 'tag_id' => [ 'name' => 'tag_id', @@ -49,6 +53,7 @@ class TaggingTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], ]; diff --git a/src/DataSource/Thread/ThreadTable.php b/src/DataSource/Thread/ThreadTable.php index 535b73e..ee08df5 100644 --- a/src/DataSource/Thread/ThreadTable.php +++ b/src/DataSource/Thread/ThreadTable.php @@ -17,6 +17,8 @@ */ class ThreadTable extends Table { + const DRIVER = 'sqlite'; + const NAME = 'threads'; const COLUMNS = [ @@ -29,6 +31,7 @@ class ThreadTable extends Table 'default' => null, 'autoinc' => true, 'primary' => true, + 'options' => null, ], 'author_id' => [ 'name' => 'author_id', @@ -39,6 +42,7 @@ class ThreadTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], 'subject' => [ 'name' => 'subject', @@ -49,6 +53,7 @@ class ThreadTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], 'body' => [ 'name' => 'body', @@ -59,6 +64,7 @@ class ThreadTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], ]; diff --git a/src/DataSource/Video/VideoTable.php b/src/DataSource/Video/VideoTable.php index b8e2bed..24f7825 100644 --- a/src/DataSource/Video/VideoTable.php +++ b/src/DataSource/Video/VideoTable.php @@ -17,6 +17,8 @@ */ class VideoTable extends Table { + const DRIVER = 'sqlite'; + const NAME = 'videos'; const COLUMNS = [ @@ -29,6 +31,7 @@ class VideoTable extends Table 'default' => null, 'autoinc' => true, 'primary' => true, + 'options' => null, ], 'title' => [ 'name' => 'title', @@ -39,6 +42,7 @@ class VideoTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], 'url' => [ 'name' => 'url', @@ -49,6 +53,7 @@ class VideoTable extends Table 'default' => null, 'autoinc' => false, 'primary' => false, + 'options' => null, ], ];