mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Add creation/update times to qanswers
This commit is contained in:
parent
0894d9ec29
commit
c7271780f2
2 changed files with 8 additions and 0 deletions
6
db/migrate/20150304135935_add_created_atto_qanswer.rb
Normal file
6
db/migrate/20150304135935_add_created_atto_qanswer.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
class AddCreatedAttoQanswer < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :qanswers, :created_at, :datetime
|
||||
add_column :qanswers, :updated_at, :datetime
|
||||
end
|
||||
end
|
||||
|
|
@ -277,6 +277,8 @@ ActiveRecord::Schema.define(version: 20141130182139) do
|
|||
create_table "qanswers", force: true do |t|
|
||||
t.integer "question_id"
|
||||
t.integer "answer_id"
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
end
|
||||
|
||||
create_table "qanswers_registrations", id: false, force: true do |t|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue