create sequence method_seq;

alter sequence method_seq owner to postgres;

alter sequence method_seq owned by method.id;

