Login password min length, boolean default set if empty

Also remove all inserts from the table declaration and add them in a
separate file instead

Add add/remove css to element for the element js declarations
This commit is contained in:
Clemens Schwaighofer
2018-07-04 18:58:07 +09:00
parent e3d1679f86
commit bddc196e25
32 changed files with 99 additions and 159 deletions

View File

@@ -16,6 +16,3 @@ CREATE TABLE edit_language (
enabled SMALLINT NOT NULL DEFAULT 0,
lang_default SMALLINT NOT NULL DEFAULT 0
) INHERITS (edit_generic) WITHOUT OIDS;
INSERT INTO edit_language (short_name, long_name, iso_name, order_number, enabled, lang_default) VALUES ('en', 'English', 'UTF-8', 1, 1, 1);
INSERT INTO edit_language (short_name, long_name, iso_name, order_number, enabled, lang_default) VALUES ('ja', 'Japanese', 'UTF-8', 2, 1, 0);