mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
* Survey period constraints * Add abilities * Enforce required questions * Update survey_submssion updated_at * Do a full match of possible answer and user reply
13 lines
266 B
Ruby
13 lines
266 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateSurveyReplies < ActiveRecord::Migration
|
|
def change
|
|
create_table :survey_replies do |t|
|
|
t.integer :survey_question_id
|
|
t.integer :user_id
|
|
t.text :text
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|