module
   Ktistec::Database
 
  Overview
Utilities for maintaining the database.
Defined in:
framework/database.crutils/database.cr
Class Method Summary
- 
        .all_applied_versions
        
          
Returns all applied versions.
 - 
        .all_migrations
        
          
Returns all defined migrations in no particular order.
 - 
        .all_pending_versions
        
          
Returns all pending versions.
 - 
        .all_versions
        
          
Returns all versions in sorted order.
 - 
        .do_operation(operation, version)
        
          
Performs an operation on a migration.
 - 
        .find_migration(version)
        
          
Finds migration by version.
 - 
        .recreate_timeline_and_notifications(limit = 1000)
        
          
Destroy and recreate timeline and notifications.
 
Class Method Detail
        
        def self.recreate_timeline_and_notifications(limit = 1000)
        #
      
      
        Destroy and recreate timeline and notifications.