spec/dummy/storage/development.sqlite3 in stateful_models-0.0.2 vs spec/dummy/storage/development.sqlite3 in stateful_models-0.0.3

- old
+ new

@@ -1,9 +1,14 @@ -SQLite format 3@  .~Z  ; e  Q - t /Cindexindex_has_states_states_on_stateable_type_and_stateable_idhas_states_states CREATE INDEX "index_has_states_states_on_stateable_type_and_stateable_id" ON "has_states_states" ("stateable_type", "stateable_id") /*application='Dummy'*/U +SQLite format 3@  .~Z J; e  Q + 3KWJ +/mindexidx_on_stateable_id_state_type_status_created_at_19e1cf37c2has_states_statesCREATE INDEX "idx_on_stateable_id_state_type_status_created_at_19e1cf37c2" ON "has_states_states" ("stateable_id", "state_type", "status", "created_at") /*application='Dummy'*/qu/Kindexidx_on_stateable_id_state_type_created_at_b5d09fb6eehas_states_statesCREATE INDEX "idx_on_stateable_id_state_type_created_at_b5d09fb6ee" ON "has_states_states" ("stateable_id", "state_type", "created_at") /*application='Dummy'*/e m/;indexidx_on_stateable_id_state_type_status_6d3d026e4dhas_states_statesCREATE INDEX "idx_on_stateable_id_state_type_status_6d3d026e4d" ON "has_states_states" ("stateable_id", "state_type", "status") /*application='Dummy'*/g y/3indexindex_has_states_states_on_stateable_id_and_state_typehas_states_states CREATE INDEX "index_has_states_states_on_stateable_id_and_state_type" ON "has_states_states" ("stateable_id", "state_type") /*application='Dummy'*/t /Cindexindex_has_states_states_on_stateable_type_and_stateable_idhas_states_states CREATE 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_states CREATE 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[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 )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 +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[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 )20250114175939)20241223212128)20241221171423 +)20250114175939)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  [[$j -' AAHasStates::Statekycpending{"foo":"bar"}User2024-12-23 21:31:02.0823162024-12-23 21:31:02.082316]E AAKYCStatekycpending{"document_type":"passport"}User2024-12-23 21:38:20.8492532024y -E AAHasStates::Statekycpending{"document_type":"passport"}User2024-12-23 21:38:20.8492532024-12-23 21:38:20.849253_ - 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 +- HasStates::StateKY- HasStates::State- HasStates::State +  User  User User + kyc kyc  kyc + kycpending kycpending  kycpending +# Akyc2024-12-23 21:38:20.849253# Akyc2024-12-23 21:31:02.082316" A kyc2024-12-23 21:27:24.876829 +}}+ Akycpending2024-12-23 21:38:20.849253+ Akycpending2024-12-23 21:31:02.082316* A kycpending2024-12-23 21:27:24.876829 \ No newline at end of file