Class: ActiveRecord::ConnectionAdapters::Spanner::Table
- Inherits:
-
Table
- Object
- Table
- ActiveRecord::ConnectionAdapters::Spanner::Table
- Defined in:
- lib/active_record/connection_adapters/spanner/schema_definitions.rb
Instance Method Summary collapse
Instance Method Details
#primary_key(name, type = :primary_key, **options) ⇒ Object
52 53 54 55 56 |
# File 'lib/active_record/connection_adapters/spanner/schema_definitions.rb', line 52 def primary_key name, type = :primary_key, ** type = :string # rubocop:disable Lint/ShadowedArgument .merge primary_key: true super end |