diff options
| author | mo khan <mo@mokhan.ca> | 2015-02-07 12:53:45 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-02-07 12:53:45 -0700 |
| commit | 9c84576258e05b05abee5eac36f8fc565c35bb8a (patch) | |
| tree | eee22b52f54779044fc94aa71161e2aad9ffeec8 /db/schema.rb | |
| parent | 65145e6be87df7b0440fb98c11abc23a2b3c49ed (diff) | |
use single table inheritance for events table.
Diffstat (limited to 'db/schema.rb')
| -rw-r--r-- | db/schema.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/schema.rb b/db/schema.rb index 88839f9..d62cc41 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20150207151759) do +ActiveRecord::Schema.define(version: 20150207194524) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -31,7 +31,7 @@ ActiveRecord::Schema.define(version: 20150207151759) do end create_table "events", id: :uuid, default: "uuid_generate_v4()", force: :cascade do |t| - t.string "name" + t.string "type" t.json "data" t.datetime "created_at", null: false t.datetime "updated_at", null: false |
