module Schema

application tables examples:

Public Class Methods

migrations_path() click to toggle source
# File lib/jungle_path/app/schemas/schema_all_in_one.rb, line 20
def self.migrations_path
  ::File.expand_path('../ztools/db/migrations',::File.dirname(__FILE__))
end
version() click to toggle source

schema meta data:

# File lib/jungle_path/app/schemas/schema_all_in_one.rb, line 8
def self.version
  # Specify database version number.
  # This version number will be used to apply database
  # migrations.
  # If the configatron.db.name does not exist, then
  # this schema is applied directly and the appropriate
  # version number is recorded in the database.
  # Version of nil will run all available migrations
  #1
  nil
end