spec/dummy/storage/development.sqlite3 in stateful_models-0.0.1 vs spec/dummy/storage/development.sqlite3 in stateful_models-0.0.2
- old
+ new
@@ -1,11 +1,9 @@
-SQLite format 3 @ .~Z
.
- >6
q
Q
(
-
- t
-/Cindexindex_has_states_states_on_stateable_type_and_stateable_idhas_states_statesCREATE INDEX "index_has_states_states_on_stateable_type_and_stateable_id" ON "has_states_states" ("stateable_type", "stateable_id") /*application='Dummy'*/G U/indexindex_has_states_states_on_stateablehas_states_states
-CREATE INDEX "index_has_states_states_on_stateable" ON "has_states_states" ("stateable_type", "stateable_id") /*application='Dummy'*///-tablehas_states_stateshas_states_states CREATE TABLE "has_states_states" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "state_type" varchar, "status" varchar NOT NULL, "metadata" json DEFAULT '{}' NOT NULL, "stateable_type" varchar NOT NULL, "stateable_id" integer NOT NULL, "completed_at" datetime(6), "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)T55Ktablear_internal_metadataar_internal_metadataCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)G[5 indexsqlite_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 3EtableusersusersCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)P++Ytablesqlite_sequencesqlite_sequenceCREATE TABLE sqlite_sequence(name,seq)?MtablecompaniescompaniesCREATE TABLE "companies" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
/ has_states_states users
< AABob2024-12-22 23:04:52.3965392024-12-22 23:04:52.396539
)20241221183116)20241221171423
- )20241221183116) 20241221171423
A A l#]AAschema_sha1132449e1d2b8d161a42498ced3f5db39344fd0d32024-12-21 18:33:27.8882272024-12-21 18:33:27.888231O##AAenvironmentdevelopment2024-12-21 18:33:27.8703022024-12-21 18:33:27.870305
- #schema_sha1# environment
P
- AAkyccompleted{}User2024-12-22 23:04:54.2374622024-12-22 23:11:07.933844
- User
- User
+SQLite format 3 @ .~Z
;
e
Q
+ t/Cindexindex_has_states_states_on_stateable_type_and_stateable_idhas_states_statesCREATE INDEX "index_has_states_states_on_stateable_type_and_stateable_id" ON "has_states_states" ("stateable_type", "stateable_id") /*application='Dummy'*/U
+m/indexindex_has_states_states_on_type_and_stateable_idhas_states_statesCREATE INDEX "index_has_states_states_on_type_and_stateable_id" ON "has_states_states" ("type", "stateable_id") /*application='Dummy'*/G U/indexindex_has_states_states_on_stateablehas_states_states
+CREATE INDEX "index_has_states_states_on_stateable" ON "has_states_states" ("stateable_type", "stateable_id") /*application='Dummy'*///_tablehas_states_stateshas_states_states CREATE TABLE "has_states_states" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar NOT NULL, "state_type" varchar, "status" varchar NOT NULL, "metadata" json DEFAULT '{}' NOT NULL, "stateable_type" varchar NOT NULL, "stateable_id" integer NOT NULL, "completed_at" datetime(6), "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)?MtablecompaniescompaniesCREATE TABLE "companies" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)P++Ytablesqlite_sequencesqlite_sequenceCREATE TABLE sqlite_sequence(name,seq)3EtableusersusersCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)T55Ktablear_internal_metadataar_internal_metadataCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)G[5 indexsqlite_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
)20241223212128)20241221171423
+ )20241223212128) 20241221171423
O##AAenvironmentdevelopment2024-12-23 21:23:59.0406102024-12-23 21:23:59.040613
+ # environment
< AABob2024-12-23 21:26:02.3300482024-12-23 21:26:02.330048
/has_states_states users
: q E AAKYCStatekycpending{"document_type":"passport"}User2024-12-23 21:38:20.8492532024-12-23 21:38:20.849253c ' AATestStatekycpending{"foo":"bar"}User2024-12-23 21:31:02.0823162024-12-23 21:31:02.082316_ - AAHasStates::Statekycpending{}User2024-12-23 21:27:24.8768292024-12-23 21:27:24.876829
+ User User User
+
KYCState TestState- HasStates::State
+ User User User
\ No newline at end of file