Class: Deimos::Generators::DbBackendGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Extended by:
ActiveRecord::Generators::Migration
Includes:
ActiveRecord::Generators::Migration, Rails::Generators::Migration
Defined in:
sig/defs.rbs

Overview

Generate the database backend migration.

Instance Method Summary collapse

Instance Method Details

#db_migrate_path ⇒ String

Returns:

  • (String)


1727
# File 'sig/defs.rbs', line 1727

def db_migrate_path: () -> String

#generate ⇒ void

This method returns an undefined value.

Main method to create all the necessary files



1730
# File 'sig/defs.rbs', line 1730

def generate: () -> void

#migration_version ⇒ String

Returns:

  • (String)


1725
# File 'sig/defs.rbs', line 1725

def migration_version: () -> String