X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/odin-cgi/blobdiff_plain/be24e9afafe0d740652d962fd5531de901a9cd09..503f7910db83c22537705f378c0317e18b80170b:/sql/setup-pastebin.sql

diff --git a/sql/setup-pastebin.sql b/sql/setup-pastebin.sql
index 06d3544..b4e99a1 100644
--- a/sql/setup-pastebin.sql
+++ b/sql/setup-pastebin.sql
@@ -14,7 +14,7 @@ drop table if exists odin_pastebin_lang;
 drop table if exists odin_pastebin_seq;
 
 create table odin_pastebin_lang
-	(lang varchar(32) primary key
+	(lang varchar(32) primary key,
 	 descr varchar(64) not null);
 insert into odin_pastebin_lang (lang, descr) values ('txt', 'Plain text');
 
@@ -28,7 +28,7 @@ create table odin_pastebin
 	 owner varchar(64) not null,
 	 title varchar(128) not null,
 	 lang varchar(32) not null
-		default 'plain-text'
+		default 'txt'
 		references odin_pastebin_lang (lang)
 			on update cascade
 			on delete set default
