Module: SqliteCrypto::MigrationHelpers::TableDefinition

Defined in:
lib/sqlite_crypto/migration_helpers.rb

Instance Method Summary collapse

Instance Method Details

#ulid(name, **options) ⇒ Object



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

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

#uuid(name, **options) ⇒ Object



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

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