removed room id from connections table

This commit is contained in:
Beatrice Olivera
2018-08-29 13:15:37 +01:00
parent 97aee2c10f
commit 82079d71cd
3 changed files with 1 additions and 15 deletions

View File

@@ -1,5 +0,0 @@
class AddColumnToConnections < ActiveRecord::Migration[5.2]
def change
add_column :connections, :room_id, :string
end
end

View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2018_08_29_102007) do
ActiveRecord::Schema.define(version: 2018_08_27_151325) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -18,7 +18,6 @@ ActiveRecord::Schema.define(version: 2018_08_29_102007) do
create_table "connections", force: :cascade do |t|
t.bigint "user_id"
t.bigint "contact_id"
t.string "room_id"
t.index ["contact_id"], name: "index_connections_on_contact_id"
t.index ["user_id"], name: "index_connections_on_user_id"
end