Module: Schema
- Defined in:
- lib/jungle_path/app/schemas/schema.rb,
lib/jungle_path/schema/db.rb,
lib/jungle_path/schema/auth.rb,
lib/jungle_path/schema/base.rb,
lib/jungle_path/schema/version.rb,
lib/jungle_path/app/schemas/schema_all_in_one.rb
Overview
application tables examples:
Defined Under Namespace
Classes: Answer, Base, Contact, FilterContact, FilterTest, Key, Log, Practice, PracticeAnswer, PracticeQuestion, PracticeQuiz, Question, Quiz, Role, SchemaInfo, Test, User, UserRole
Class Method Summary collapse
- .migrations_path ⇒ Object
-
.version ⇒ Object
schema meta data:.
Class Method Details
.migrations_path ⇒ Object
16 17 18 |
# File 'lib/jungle_path/schema/version.rb', line 16 def self.migrations_path ::File.('../ztools/db/migrations',::File.dirname(__FILE__)) end |
.version ⇒ Object
schema meta data:
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/jungle_path/schema/version.rb', line 4 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 |