ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to RenameGamificationTasksToGoals (20140315142524)  (0.1ms) begin transaction  (1.0ms) CREATE TEMPORARY TABLE "agamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'  (0.1ms) select sqlite_version(*)  (0.2ms) CREATE INDEX "tindex_agamification_rewards_on_goal_id" ON "agamification_rewards" ("task_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_agamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_agamification_rewards_on_goal_id' AND type='index'   (0.1ms) CREATE INDEX "tindex_gamification_scorings_on_subjectable" ON "agamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms) SELECT * FROM "gamification_rewards"  (0.5ms) DROP TABLE "gamification_rewards"  (0.1ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_gamification_scorings_on_subjectable' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_agamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_agamification_rewards_on_goal_id' AND type='index'   (0.1ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("task_id")  (0.0ms) SELECT * FROM "agamification_rewards"  (0.3ms) DROP TABLE "agamification_rewards"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'  (0.1ms) CREATE INDEX "index_gamification_rewards_on_task_id" ON "gamification_rewards" ("task_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_task_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'  (0.2ms) DROP INDEX "index_gamification_rewards_on_goal_id"  (0.2ms) ALTER TABLE "gamification_goals" RENAME TO "gamification_tasks"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index'   (0.1ms) CREATE INDEX "index_gamification_tasks_on_rewarding_id_and_rewarding_type" ON "gamification_tasks" ("rewarding_id", "rewarding_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_tasks_on_rewarding_id_and_rewarding_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_tasks_on_rewarding_id_and_rewarding_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index'  (0.1ms) DROP INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140315142524'  (2.5ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_medals_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_medals_on_task_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_task_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_tasks_on_rewarding_id_and_rewarding_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_tasks_on_rewarding_id_and_rewarding_type' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to RenameGamificationTasksToGoals (20140315142524)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "gamification_tasks" RENAME TO "gamification_goals"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_tasks_on_rewarding_id_and_rewarding_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_tasks_on_rewarding_id_and_rewarding_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_tasks_on_rewarding_id_and_rewarding_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_tasks_on_rewarding_id_and_rewarding_type' AND type='index'   (0.1ms) select sqlite_version(*)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_tasks_on_rewarding_id_and_rewarding_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_tasks_on_rewarding_id_and_rewarding_type' AND type='index'   (0.2ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_tasks_on_rewarding_id_and_rewarding_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_tasks_on_rewarding_id_and_rewarding_type' AND type='index'  (0.8ms) DROP INDEX "index_gamification_tasks_on_rewarding_id_and_rewarding_type"  (0.4ms) CREATE TEMPORARY TABLE "agamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_task_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'  (0.1ms) CREATE INDEX "tindex_agamification_rewards_on_task_id" ON "agamification_rewards" ("goal_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_agamification_rewards_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_agamification_rewards_on_task_id' AND type='index'  (0.1ms) CREATE INDEX "tindex_gamification_scorings_on_subjectable" ON "agamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms) SELECT * FROM "gamification_rewards"  (0.2ms) DROP TABLE "gamification_rewards"  (0.1ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_agamification_rewards_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_agamification_rewards_on_task_id' AND type='index'  (0.1ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'  (0.1ms) CREATE INDEX "index_gamification_rewards_on_task_id" ON "gamification_rewards" ("goal_id")  (0.0ms) SELECT * FROM "agamification_rewards"  (0.3ms) DROP TABLE "agamification_rewards"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_task_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_task_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_task_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_task_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) DROP INDEX "index_gamification_rewards_on_task_id"  (0.1ms) CREATE TEMPORARY TABLE "agamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_medals_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_medals_on_task_id' AND type='index'  (0.1ms) CREATE INDEX "tindex_agamification_medals_on_task_id" ON "agamification_medals" ("goal_id")  (0.1ms) SELECT * FROM "gamification_medals"  (0.1ms) DROP TABLE "gamification_medals"  (0.1ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_agamification_medals_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_agamification_medals_on_task_id' AND type='index'   (0.1ms) CREATE INDEX "index_gamification_medals_on_task_id" ON "gamification_medals" ("goal_id")  (0.0ms) SELECT * FROM "agamification_medals"  (0.1ms) DROP TABLE "agamification_medals"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_medals_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_medals_on_task_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_medals_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_medals_on_task_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_medals_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_medals_on_task_id' AND type='index'   (0.1ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_medals_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_medals_on_goal_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_medals_on_task_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_medals_on_task_id' AND type='index'  (0.1ms) DROP INDEX "index_gamification_medals_on_task_id" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140315142524"]]  (2.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_medals_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_medals_on_goal_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'  (2.2ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.7ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.7ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.7ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (2.6ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (1.0ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (2.6ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.9ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611') ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddSeenAtToGamificationRewards (20140318220723)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "gamification_rewards" ADD "seen_at" datetime SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140318220723"]]  (0.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_medals_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_medals_on_goal_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'  (2.4ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.6ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.6ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.6ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.8ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.5ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.7ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (1.0ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.7ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.9ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.7ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.7ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.7ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.6ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.9ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.8ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddSeenAtToGamificationRewards (20140318220723)  (0.1ms) begin transaction  (1.4ms) CREATE TEMPORARY TABLE "agamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'  (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "tindex_agamification_rewards_on_goal_id" ON "agamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_agamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_agamification_rewards_on_goal_id' AND type='index'   (0.1ms) CREATE INDEX "tindex_gamification_scorings_on_subjectable" ON "agamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms) SELECT * FROM "gamification_rewards"  (0.3ms) DROP TABLE "gamification_rewards"  (0.1ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_gamification_scorings_on_subjectable' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_agamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_agamification_rewards_on_goal_id' AND type='index'   (0.1ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.0ms) SELECT * FROM "agamification_rewards"  (0.3ms) DROP TABLE "agamification_rewards" SQL (0.2ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140318220723'  (1.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_medals_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_medals_on_goal_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddSeenAtToGamificationRewards (20140318220723)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "gamification_rewards" ADD "seen_at" datetime SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140318220723"]]  (1.3ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_medals_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_medals_on_goal_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddSeenAtToGamificationRewards (20140318220723)  (0.1ms) begin transaction  (1.3ms) CREATE TEMPORARY TABLE "agamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'  (0.1ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "tindex_agamification_rewards_on_goal_id" ON "agamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_agamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_agamification_rewards_on_goal_id' AND type='index'   (0.1ms) CREATE INDEX "tindex_gamification_scorings_on_subjectable" ON "agamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms) SELECT * FROM "gamification_rewards"  (0.4ms) DROP TABLE "gamification_rewards"  (0.2ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_gamification_scorings_on_subjectable' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_agamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_agamification_rewards_on_goal_id' AND type='index'   (0.1ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms) SELECT * FROM "agamification_rewards"  (0.4ms) DROP TABLE "agamification_rewards" SQL (0.2ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140318220723'  (2.3ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_medals_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_medals_on_goal_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddSeenAtToGamificationRewards (20140318220723)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "gamification_rewards" ADD "seen_at" datetime SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140318220723"]]  (1.2ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_medals_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_medals_on_goal_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddSeenAtToGamificationRewards (20140318220723)  (0.1ms) begin transaction  (1.0ms) CREATE TEMPORARY TABLE "agamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'  (0.1ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "tindex_agamification_rewards_on_goal_id" ON "agamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_agamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_agamification_rewards_on_goal_id' AND type='index'   (0.1ms) CREATE INDEX "tindex_gamification_scorings_on_subjectable" ON "agamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms) SELECT * FROM "gamification_rewards"  (0.4ms) DROP TABLE "gamification_rewards"  (0.1ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_gamification_scorings_on_subjectable' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_agamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_agamification_rewards_on_goal_id' AND type='index'   (0.1ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.0ms) SELECT * FROM "agamification_rewards"  (0.3ms) DROP TABLE "agamification_rewards" SQL (0.2ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140318220723'  (2.5ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_medals_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_medals_on_goal_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddSeenAtToGamificationRewards (20140318220723)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "gamification_rewards" ADD "seen_at" datetime  (0.1ms) select sqlite_version(*)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'  (0.2ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140318220723"]]  (2.2ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_goals_on_rewarding_id_and_rewarding_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_medals_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_medals_on_goal_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_seen_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_seen_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (2.6ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.7ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.9ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.7ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.4ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.8ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.7ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (1.0ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.7ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.7ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.7ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.9ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.3ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.9ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.2ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.4ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.7ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.7ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.6ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.8ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.7ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.5ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.6ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (1.0ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.7ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.6ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.3ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.7ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.6ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.6ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.7ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.7ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.4ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.9ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.3ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.9ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.6ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.4ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.2ms) select sqlite_version(*)  (1.2ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.9ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.7ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.9ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.2ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.6ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.6ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.6ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.7ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.3ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.7ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (9.7ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.6ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.6ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.6ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.6ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.6ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.5ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.6ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.4ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.7ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.9ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.5ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.7ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.6ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.7ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.6ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (0.9ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.6ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.6ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.7ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.6ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.7ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.7ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.4ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.9ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.7ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.8ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.4ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.8ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.7ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.7ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.7ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.6ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.9ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.8ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.6ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.7ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (1.8ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.7ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.5ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.7ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.9ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.9ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.7ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.1ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.7ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.8ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.6ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.4ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.9ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.8ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.6ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.7ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.6ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.7ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.3ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.9ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.7ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.8ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.6ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.7ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.8ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (9.9ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.5ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.7ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.2ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.7ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.6ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.6ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.6ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.3ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.6ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.6ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.8ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.6ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.6ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.8ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (1.6ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.9ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (1.0ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.7ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.6ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.6ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.5ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.6ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.6ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.6ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.7ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.8ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.6ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.9ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.7ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.8ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.5ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.7ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.8ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.4ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.9ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.8ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.7ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.7ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.7ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.7ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.7ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.7ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.7ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.8ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.6ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.9ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.9ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.7ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (1.0ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.9ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.9ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (1.0ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.7ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.7ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (1.1ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.7ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.7ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (1.1ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.7ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (1.2ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.6ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.9ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.7ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.2ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.7ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.6ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.5ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.7ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.0ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.9ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.4ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.9ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.7ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.7ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.7ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.7ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.7ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.8ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (1.1ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.9ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (1.1ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.9ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.7ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (1.1ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.7ms) select sqlite_version(*)  (1.2ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.9ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (1.1ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.6ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (1.0ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.3ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.7ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.7ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (1.0ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.2ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.9ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.9ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (1.0ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.6ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.6ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.6ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.5ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.5ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.6ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.6ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (1.0ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.2ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.7ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.6ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.6ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.2ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.7ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.6ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.9ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (1.0ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (1.0ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (1.0ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.7ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.9ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.9ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.9ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.9ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.4ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.9ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (1.0ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.9ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.8ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.9ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.8ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.9ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.7ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.7ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (1.1ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.6ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.7ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (1.0ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.7ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.6ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.6ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.6ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.6ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.7ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.7ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.9ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.9ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.9ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (1.1ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.9ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.7ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.6ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.6ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.9ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.7ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.7ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.9ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.7ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.7ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.9ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524')  (2.7ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "gamification_goals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "rewarding_id" integer, "rewarding_type" varchar(255), "points" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_gamification_goals_on_rewarding_id_and_rewarding_type" ON "gamification_goals" ("rewarding_id", "rewarding_type")  (0.8ms) CREATE TABLE "gamification_medals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "name" varchar(255), "image" varchar(255), "created_at" datetime, "updated_at" datetime, "description" text)   (0.8ms) CREATE INDEX "index_gamification_medals_on_goal_id" ON "gamification_medals" ("goal_id")  (0.8ms) CREATE TABLE "gamification_rewards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "goal_id" integer, "rewardable_id" integer, "rewardable_type" varchar(255), "created_at" datetime, "updated_at" datetime, "seen_at" datetime)   (0.8ms) CREATE INDEX "index_gamification_rewards_on_goal_id" ON "gamification_rewards" ("goal_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'   (0.9ms) CREATE INDEX "index_gamification_scorings_on_subjectable" ON "gamification_rewards" ("rewardable_id", "rewardable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_scorings_on_subjectable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_gamification_rewards_on_goal_id' AND type='index'  (0.8ms) CREATE INDEX "index_gamification_rewards_on_seen_at" ON "gamification_rewards" ("seen_at")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140318220723')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200402')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309200453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309173049')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140309175957')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140310081749')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140313134259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314132611')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140315142524') Article Load (0.1ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1