/[BackupPC]/trunk/sql/02a_backups_id.sql
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/sql/02a_backups_id.sql

Parent Directory Parent Directory | Revision Log Revision Log


Revision 178 - (hide annotations)
Tue Oct 11 19:11:32 2005 UTC (18 years, 7 months ago) by dpavlin
File size: 290 byte(s)
few more migration sqls

1 dpavlin 178 -- add id to backups table
2    
3     alter table backups add column id int ;
4     create sequence backups_id_seq ;
5     alter table backups alter id set default nextval('public.backups_id_seq'::text) ;
6     update backups set id = nextval('public.backups_id_seq') ;
7     create unique index backups_id on backups(id) ;

  ViewVC Help
Powered by ViewVC 1.1.26