CREATE SEQUENCE file_id_seq
  INCREMENT 1
  MINVALUE 1
  MAXVALUE 9223372036854775807
  START 1000000
  CACHE 1;

ALTER TABLE ls_files
    ALTER COLUMN id 
        SET DEFAULT NEXTVAL('file_id_seq');

DROP TABLE ls_struct;
DROP TABLE ls_tree;

