1 ALTER TABLE answer ADD COLUMN `accepted_at` datetime default null;
3 /* Update accepted_at column with answer added datetime for existing data */
5 SET accepted_at = added_at
6 WHERE accepted = 1 AND accepted_at IS NULL;
8 /* workround for c# url problem on bluehost server */
14 SET tagnames = replace(tagnames, 'c#', 'csharp')
15 WHERE tagnames like '%c#%'
17 UPDATE question_revision
18 SET tagnames = replace(tagnames, 'c#', 'csharp')
19 WHERE tagnames like '%c#%'