Fix subject table schema creation