1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-03-15 16:29:16 +01:00

Dev: Update example SQL so that the start_date default is null. This

doesn't effect the DataTables demos since the inserts all have values
for this field. It is done for Editor which can use this table for
editing and it simplifies the MySQL aspect.
This commit is contained in:
Allan Jardine 2016-01-07 15:26:27 +00:00
parent b7c671444d
commit 906cfe3b93
5 changed files with 5 additions and 5 deletions

View File

@ -1 +1 @@
d6aad5f99d5ff197e189beb6d108df027e47f21e
35ff558a30e0c0fe849eb7a06d6a6be202616f7e

View File

@ -11,7 +11,7 @@ CREATE TABLE `datatables_demo` (
`position` varchar(250) NOT NULL default '',
`email` varchar(250) NOT NULL default '',
`office` varchar(250) NOT NULL default '',
`start_date` datetime default CURRENT_TIMESTAMP,
`start_date` datetime default NULL,
`age` int(8),
`salary` int(8),
`seq` int(8),

View File

@ -10,7 +10,7 @@ CREATE TABLE datatables_demo (
position text NOT NULL default '',
email text NOT NULL default '',
office text NOT NULL default '',
start_date timestamp without time zone default CURRENT_TIMESTAMP,
start_date timestamp without time zone default NULL,
age integer,
salary integer,
seq integer,

View File

@ -10,7 +10,7 @@ CREATE TABLE datatables_demo (
position text NOT NULL default '',
email text NOT NULL default '',
office text NOT NULL default '',
start_date timestamp without time zone default CURRENT_TIMESTAMP,
start_date timestamp without time zone default NULL,
age integer,
salary integer,
seq integer,

View File

@ -11,7 +11,7 @@ CREATE TABLE datatables_demo (
position varchar(250) NOT NULL default '',
email varchar(250) NOT NULL default '',
office varchar(250) NOT NULL default '',
start_date datetime default GETDATE(),
start_date datetime default NULL,
age int,
salary int,
seq int,