It's better to say "key text" instead of "key varchar(1024)" and primary key already implies not null.