1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-11-29 11:24:10 +01:00

Fix: Example SQL database had extension field as an integer. However, that meant that numbers such as 0001 were not correctly saved

This commit is contained in:
Allan Jardine 2014-09-08 15:14:33 +01:00
parent b1f1b2d961
commit cda203dbdc
5 changed files with 5 additions and 5 deletions

View File

@ -1 +1 @@
0bd348d5355175944f16f9935f49bc8dc6b993a5
764c4597ed243b7c2d8a1a301ec48cde4132565b

View File

@ -14,7 +14,7 @@ CREATE TABLE `datatables_demo` (
`start_date` timestamp DEFAULT CURRENT_TIMESTAMP,
`age` int(8),
`salary` int(8),
`extn` int(8),
`extn` varchar(8) NOT NULL default '',
PRIMARY KEY (`id`)
);

View File

@ -13,7 +13,7 @@ CREATE TABLE datatables_demo (
start_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
age integer,
salary integer,
extn integer,
extn text NOT NULL default '',
PRIMARY KEY (id)
);

View File

@ -13,7 +13,7 @@ CREATE TABLE datatables_demo (
start_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
age integer,
salary integer,
extn integer
extn text NOT NULL default ''
);
INSERT INTO datatables_demo

View File

@ -14,7 +14,7 @@ CREATE TABLE datatables_demo (
start_date datetime DEFAULT GETDATE(),
age int,
salary int,
extn int,
extn varchar(8) NOT NULL default '',
PRIMARY KEY (id)
);