# encoding: UTF-8 # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # # Note that this schema.rb definition is the authoritative source for your # database schema. If you need to create the application database on another # system, you should be using db:schema:load, not running all the migrations # from scratch. The latter is a flawed and unsustainable approach (the more migrations # you'll amass, the slower it'll run and the greater likelihood for issues). # # It's strongly recommended to check this file into your version control system. ActiveRecord::Schema.define(:version => 20140701092528) do create_table "event_publishing_rules", :force => true do |t| t.string "bu_id" t.string "entity_type" t.string "status" end add_index "event_publishing_rules", ["bu_id"], :name => "bu_id_idx" add_index "event_publishing_rules", ["entity_type"], :name => "entity_type_idx" add_index "event_publishing_rules", ["status"], :name => "status_idx" create_table "gl_date_configurations", :force => true do |t| t.string "context" t.string "condition" t.string "result" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false end add_index "gl_date_configurations", ["context"], :name => "context_idx" create_table "gl_status_configurations", :force => true do |t| t.string "context" t.string "result" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false t.string "field_name" t.string "field_value" end add_index "gl_status_configurations", ["context"], :name => "context_idx" create_table "ingestion_rules", :force => true do |t| t.string "bu_id" t.string "entity_type" t.string "status" end create_table "locks", :force => true do |t| t.string "resource_name", :null => false t.string "key", :null => false t.datetime "lock_expiry_time", :null => false t.string "caller_key", :null => false t.boolean "locked", :default => false, :null => false t.datetime "created_at", :null => false t.datetime "updated_at", :null => false end add_index "locks", ["caller_key"], :name => "index_locks_on_caller_key" add_index "locks", ["resource_name", "key"], :name => "idx_resource_key", :unique => true create_table "resources", :force => true do |t| t.string "resource_key" t.string "resource_value" end end