Table Schema Modification

I changed a table name in the schema, when we synchronize the project file,
then in every view i used this table name, the view converted to invalid,
and also Server Events and Client Scripts become empty.

Is there any solution that Server Events and Client Scripts do not empty ?

You should update the view in the database as well if you changed a related table in the view. If you use Custom View, you must also update the Custom View.