mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-27 00:54:15 +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,
|
`start_date` timestamp DEFAULT CURRENT_TIMESTAMP,
|
||||||
`age` int(8),
|
`age` int(8),
|
||||||
`salary` int(8),
|
`salary` int(8),
|
||||||
`extn` int(8),
|
`extn` varchar(8) NOT NULL default '',
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ CREATE TABLE datatables_demo (
|
|||||||
start_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
|
start_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
|
||||||
age integer,
|
age integer,
|
||||||
salary integer,
|
salary integer,
|
||||||
extn integer,
|
extn text NOT NULL default '',
|
||||||
PRIMARY KEY (id)
|
PRIMARY KEY (id)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ CREATE TABLE datatables_demo (
|
|||||||
start_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
|
start_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
|
||||||
age integer,
|
age integer,
|
||||||
salary integer,
|
salary integer,
|
||||||
extn integer
|
extn text NOT NULL default ''
|
||||||
);
|
);
|
||||||
|
|
||||||
INSERT INTO datatables_demo
|
INSERT INTO datatables_demo
|
||||||
|
@ -14,7 +14,7 @@ CREATE TABLE datatables_demo (
|
|||||||
start_date datetime DEFAULT GETDATE(),
|
start_date datetime DEFAULT GETDATE(),
|
||||||
age int,
|
age int,
|
||||||
salary int,
|
salary int,
|
||||||
extn int,
|
extn varchar(8) NOT NULL default '',
|
||||||
PRIMARY KEY (id)
|
PRIMARY KEY (id)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user