Class: Jets::Commands::Db::Tasks::Dummy::App

Inherits:
Object
  • Object
show all
Defined in:
lib/jets/commands/db/tasks/dummy/app.rb

Instance Method Summary collapse

Instance Method Details

#configObject



5
6
7
8
9
10
11
12
13
14
15
# File 'lib/jets/commands/db/tasks/dummy/app.rb', line 5

def config
  Config.new(
    active_record: {
      belongs_to_required_by_default: true
    },
    paths: {
      db: ["db"],
      "db/migrate": ["db/migrate"]
    }
  )
end

#pathsObject



17
18
19
20
21
22
23
# File 'lib/jets/commands/db/tasks/dummy/app.rb', line 17

def paths
  RecursiveOpenStruct.new(
    paths: {
      "db/migrate": ["db/migrate"]
    }
  )
end