removing byte order mark

async_key_management
vb 9 years ago
parent 6a6d2eb64f
commit 70707b1da8

@ -1,4 +1,4 @@
create table trust (
create table trust (
user_id text references person (id) on delete cascade,
pgp_keypair_fpr text references pgp_keypair (fpr) on delete cascade,
comm_type integer not null,
@ -16,18 +16,17 @@ insert into trust (user_id, pgp_keypair_fpr, comm_type)
alter table identity rename to identity_old;
create table identity (
address text primary key,
user_id text
references person (id)
on delete cascade,
main_key_id text
references pgp_keypair (fpr)
on delete set null,
comment text
address text primary key,
user_id text
references person (id)
on delete cascade,
main_key_id text
references pgp_keypair (fpr)
on delete set null,
comment text
);
insert into identity (address, user_id, main_key_id)
select address, user_id, main_key_id from identity_old;
drop table identity_old;

Loading…
Cancel
Save