Skip to content

Commit

Permalink
Merge pull request #7064 from fjordllc/feature/delete_unreplied_colum…
Browse files Browse the repository at this point in the history
…n_in_talks_table

Talksテーブルのunrepliedカラムを削除した
  • Loading branch information
komagata authored Dec 5, 2023
2 parents afeac26 + 6835aff commit ae86158
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions db/migrate/20231120101451_remove_unreplied_from_talks.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class RemoveUnrepliedFromTalks < ActiveRecord::Migration[6.1]
def change
remove_column :talks, :unreplied, :boolean
end
end
3 changes: 1 addition & 2 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 2023_10_01_031818) do
ActiveRecord::Schema.define(version: 2023_11_20_101451) do

# These are extensions that must be enabled in order to support this database
enable_extension "pgcrypto"
Expand Down Expand Up @@ -667,7 +667,6 @@
t.bigint "user_id", null: false
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.boolean "unreplied", default: false, null: false
t.boolean "action_completed", default: true, null: false
t.index ["user_id"], name: "index_talks_on_user_id"
end
Expand Down

0 comments on commit ae86158

Please sign in to comment.