Skip to content

Instantly share code, notes, and snippets.

@growse
growse / gist:1306667
Created October 23, 2011 00:13
SQLite schema updater
/*
I needed a way to look at an existing SQLite schema, compare it to a text file containing some table
definitions and then work out if the two were the same. Here's how I did it.
The hashtable 'givenschema' contains each table create statement keyed by the name of the table.
*/
public static void CheckSchema()
{