Add SQLite support

- UUID support
- Schema compatibility layer, ignore MySQL specific options
- Search not working yet
This commit is contained in:
Donal McBreen
2025-11-19 12:02:26 +00:00
parent 7f76835150
commit a2333d9a37
8 changed files with 137 additions and 11 deletions
+2 -1
View File
@@ -39,5 +39,6 @@ module ActiveRecord
end
end
# Register the UUID type for Trilogy adapter
# Register the UUID type for Trilogy (MySQL) and SQLite3 adapters
ActiveRecord::Type.register(:uuid, ActiveRecord::Type::Uuid, adapter: :trilogy)
ActiveRecord::Type.register(:uuid, ActiveRecord::Type::Uuid, adapter: :sqlite3)