sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
You need to do this if you try this command:
ssh -T [email protected]and you get something that says
[email protected]: Permission denied (public key).-- Firstly, remove PRIMARY KEY attribute of former PRIMARY KEY
ALTER TABLE <table_name> DROP CONSTRAINT <table_name>_pkey;-- Then change column name of your PRIMARY KEY and PRIMARY KEY candidates properly.
ALTER TABLE <table_name> RENAME COLUMN <primary_key_candidate> TO id;| public static final String SQL_UPDATE = "update person set usr_name = :name "; | |
| final Update update = Ebean.createUpdate(Person.class, SQL_UPDATE); | |
| update.setParameter("name", "new name"); | |
| final int updatedRows = update.execute(); |