2 # This file is auto-generated from the current state of the database. Instead
3 # of editing this file, please use the migrations feature of Active Record to
4 # incrementally modify your database, and then regenerate this schema definition.
6 # Note that this schema.rb definition is the authoritative source for your
7 # database schema. If you need to create the application database on another
8 # system, you should be using db:schema:load, not running all the migrations
9 # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10 # you'll amass, the slower it'll run and the greater likelihood for issues).
12 # It's strongly recommended to check this file into your version control system.
14 ActiveRecord::Schema.define(:version => 20130730091641) do
16 create_table "app_configs", :force => true do |t|
17 t.boolean "delay_ecs_notifications"
18 t.datetime "created_at", :null => false
19 t.datetime "updated_at", :null => false
22 create_table "notifications", :force => true do |t|
25 t.integer "status_id", :default => 1
27 t.datetime "created_at", :null => false
28 t.datetime "updated_at", :null => false
29 t.boolean "update_instance", :default => false
32 create_table "receiver_representations", :force => true do |t|
33 t.integer "receiver_id"
34 t.integer "representation_id"
35 t.datetime "created_at", :null => false
36 t.datetime "updated_at", :null => false
39 create_table "receivers", :force => true do |t|
42 t.datetime "created_at", :null => false
43 t.datetime "updated_at", :null => false
46 create_table "representations", :force => true do |t|
50 t.integer "notification_id"
51 t.datetime "created_at", :null => false
52 t.datetime "updated_at", :null => false
53 t.integer "resource_id"
56 create_table "resources", :force => true do |t|
58 t.datetime "created_at", :null => false
59 t.datetime "updated_at", :null => false
62 create_table "statuses", :force => true do |t|
64 t.datetime "created_at", :null => false
65 t.datetime "updated_at", :null => false
68 create_table "temp_files", :force => true do |t|
71 t.integer "notification_id"
72 t.datetime "created_at", :null => false
73 t.datetime "updated_at", :null => false
76 create_table "types", :force => true do |t|
78 t.datetime "created_at", :null => false
79 t.datetime "updated_at", :null => false