mysql support json
This commit is contained in:
parent
b0d73eaccd
commit
b0712fac25
@ -315,6 +315,8 @@ class Util
|
|||||||
'char' => ['Input'],
|
'char' => ['Input'],
|
||||||
|
|
||||||
'binary' => ['Input'],
|
'binary' => ['Input'],
|
||||||
|
|
||||||
|
'json' => ['input']
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@
|
|||||||
|
|
||||||
<script type="text/html" id="col-type">
|
<script type="text/html" id="col-type">
|
||||||
<select name="columns[{{ d.LAY_INDEX-1 }}][type]" lay-verify="">
|
<select name="columns[{{ d.LAY_INDEX-1 }}][type]" lay-verify="">
|
||||||
{{# layui.each(["integer","string","text","date","enum","float","tinyInteger","smallInteger","mediumInteger","bigInteger","unsignedInteger","unsignedTinyInteger","unsignedSmallInteger","unsignedMediumInteger","unsignedBigInteger","decimal","double","mediumText","longText","dateTime","time","timestamp","char","binary"], function (index, item) { }}
|
{{# layui.each(["integer","string","text","date","enum","float","tinyInteger","smallInteger","mediumInteger","bigInteger","unsignedInteger","unsignedTinyInteger","unsignedSmallInteger","unsignedMediumInteger","unsignedBigInteger","decimal","double","mediumText","longText","dateTime","time","timestamp","char","binary","json"], function (index, item) { }}
|
||||||
<option value="{{ item }}" {{ d.type==item?"selected":""}}>{{ item }}</option>
|
<option value="{{ item }}" {{ d.type==item?"selected":""}}>{{ item }}</option>
|
||||||
{{# }); }}
|
{{# }); }}
|
||||||
</select>
|
</select>
|
||||||
|
@ -98,7 +98,7 @@
|
|||||||
|
|
||||||
<script type="text/html" id="col-type">
|
<script type="text/html" id="col-type">
|
||||||
<select name="columns[{{ d.LAY_INDEX-1 }}][type]" lay-verify="">
|
<select name="columns[{{ d.LAY_INDEX-1 }}][type]" lay-verify="">
|
||||||
{{# layui.each(["integer","string","text","date","enum","float","tinyInteger","smallInteger","mediumInteger","bigInteger","unsignedInteger","unsignedTinyInteger","unsignedSmallInteger","unsignedMediumInteger","unsignedBigInteger","decimal","double","mediumText","longText","dateTime","time","timestamp","char","binary"], function (index, item) { }}
|
{{# layui.each(["integer","string","text","date","enum","float","tinyInteger","smallInteger","mediumInteger","bigInteger","unsignedInteger","unsignedTinyInteger","unsignedSmallInteger","unsignedMediumInteger","unsignedBigInteger","decimal","double","mediumText","longText","dateTime","time","timestamp","char","binary","json"], function (index, item) { }}
|
||||||
<option value="{{ item }}" {{ d.type==item?'selected':''}}>{{ item }}</option>
|
<option value="{{ item }}" {{ d.type==item?'selected':''}}>{{ item }}</option>
|
||||||
{{# }); }}
|
{{# }); }}
|
||||||
</select>
|
</select>
|
||||||
|
Loading…
Reference in New Issue
Block a user