SQLite format 3@ . ;! : K 3,`-9tablebooksbooksCREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)-9tableusersusersCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)Iw)indexindex_approval_items_on_resource_id_and_resource_typeapproval_itemsCREATE INDEX "index_approval_items_on_resource_id_and_resource_type" ON "approval_items" ("resource_id", "resource_type")Q)5indexindex_approval_items_on_request_idapproval_itemsCREATE INDEX "index_approval_items_on_request_id" ON "approval_items" ("request_id")9 ))-tableapproval_itemsapproval_itemsCREATE TABLE "approval_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "request_id" integer NOT NULL, "resource_id" integer, "resource_type" varchar NOT NULL, "event" varchar NOT NULL, "params" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) Q/5indexindex_approval_comments_on_user_idapproval_comments CREATE INDEX "index_approval_comments_on_user_id" ON "approval_comments" ("user_id") W/Aindexindex_approval_comments_on_request_idapproval_comments CREATE INDEX "index_approval_comments_on_request_id" ON "approval_comments" ("request_id") //Ytableapproval_commentsapproval_comments CREATE TABLE "approval_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "request_id" integer NOT NULL, "user_id" integer NOT NULL, "content" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) M/-indexindex_approval_requests_on_stateapproval_requests CREATE INDEX "index_approval_requests_on_state" ON "approval_requests" ("state"),a/Uindexindex_approval_requests_on_respond_user_idapproval_requests CREATE INDEX "index_approval_requests_on_respond_user_id" ON "approval_requests" ("respond_user_id"),a/Uindexindex_approval_requests_on_request_user_idapproval_requestsCREATE INDEX "index_approval_requests_on_request_user_id" ON "approval_requests" ("request_user_id")P++Ytablesqlite_sequencesqlite_sequenceCREATE TABLE sqlite_sequence(name,seq)//Stableapproval_requestsapproval_requestsCREATE TABLE "approval_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "request_user_id" integer NOT NULL, "respond_user_id" integer, "state" integer(1) DEFAULT 0 NOT NULL, "requested_at" datetime NOT NULL, "cancelled_at" datetime, "approved_at" datetime, "rejected_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)N55?tablear_internal_metadataar_internal_metadataCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)G[5indexsqlite_autoindex_ar_internal_metadata_1ar_internal_metadatax//tableschema_migrationsschema_migrationsCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)AU/indexsqlite_autoindex_schema_migrations_1schema_migrations )20170731101413)20170731101412)20170731101411)20170731101410)20170731101409 )20170731101413)20170731101412)20170731101411)20170731101410) 20170731101409 H#AAenvironmenttest2017-07-31 10:14:13.9102622017-07-31 10:14:13.910262 # environment