Added not null constraints to tables in lib_tables