Using Rails 3.1 and sqlite3 for development, test environments.
Added a new table in a migration:
create_table :api_keys do |t| t.string :api_key
If you are using strings of hex digits, it is important that you have a case match if you want to use an where x = y select. Unlike some databases, SQLite is case sensitive.