File: nulldb_database_tasks.rb

package info (click to toggle)
ruby-activerecord-nulldb-adapter 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 248 kB
  • sloc: ruby: 833; makefile: 3
file content (29 lines) | stat: -rw-r--r-- 422 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
class ActiveRecord::Tasks::NullDBDatabaseTasks
  def initialize(configuration)
    @configuration = configuration
  end

  def create(master_established = false)
    # NO-OP
  end

  def drop
    # NO-OP
  end

  def purge
    # NO-OP
  end

  def structure_dump(filename, extra_flags)
    # NO-OP
  end

  def structure_load(filename, extra_flags)
    # NO-OP
  end

  def clear_active_connections!
    # NO-OP
  end
end