# 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 => 20120523112257) do create_table "ebus_applications", :force => true do |t| t.string "name" t.string "key" t.string "description" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false end create_table "ebus_message_routes", :force => true do |t| t.integer "message_type_id" t.string "incoming_status" t.string "dispatch_to" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false t.boolean "match_errors" end add_index "ebus_message_routes", ["message_type_id", "incoming_status"], :name => "ebus_msgroutes_type_status" create_table "ebus_message_types", :force => true do |t| t.integer "application_id" t.string "name" t.text "description" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false end add_index "ebus_message_types", ["application_id"], :name => "index_ebus_message_types_on_application_id" create_table "ebus_messages", :force => true do |t| t.string "message_type_name" t.string "status" t.string "dispatch_to" t.boolean "is_error" t.text "content" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false t.integer "application_id" t.string "application_key" t.integer "message_type_id" t.string "message_guid" end add_index "ebus_messages", ["is_error"], :name => "index_ebus_messages_on_is_error" add_index "ebus_messages", ["message_type_name"], :name => "index_ebus_messages_on_message_type" create_table "ebus_schema_migrations", :id => false, :force => true do |t| t.string "version", :null => false end add_index "ebus_schema_migrations", ["version"], :name => "ebus_unique_schema_migrations", :unique => true end