Module: SqliteCrypto::MigrationHelpers::TableDefinition

Defined in:
lib/sqlite_crypto/migration_helpers.rb

Instance Method Summary collapse

Instance Method Details

#ulid(name, **options) ⇒ Object



12
13
14
# File 'lib/sqlite_crypto/migration_helpers.rb', line 12

def ulid(name, **options)
  column(name, :ulid, **options)
end

#uuid(name, **options) ⇒ Object



8
9
10
# File 'lib/sqlite_crypto/migration_helpers.rb', line 8

def uuid(name, **options)
  column(name, :uuid, **options)
end