mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-01 13: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:
parent
b1f1b2d961
commit
cda203dbdc
@ -1 +1 @@
|
||||
0bd348d5355175944f16f9935f49bc8dc6b993a5
|
||||
764c4597ed243b7c2d8a1a301ec48cde4132565b
|
||||
|
@ -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`)
|
||||
);
|
||||
|
||||
|
@ -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)
|
||||
);
|
||||
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user