9c86205510
Patch the sqlite adapter to add CHECK constraints for string and text column limits. We'll do them inline, so that any column changes automatically update the constraints.
8 lines
182 B
Ruby
8 lines
182 B
Ruby
class ApplicationRecord < ActiveRecord::Base
|
|
primary_abstract_class
|
|
|
|
configure_replica_connections
|
|
|
|
attribute :id, :uuid, default: -> { ActiveRecord::Type::Uuid.generate }
|
|
end
|