14 lines
261 B
Ruby
14 lines
261 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateSubmissions < ActiveRecord::Migration[6.0]
|
|
def change
|
|
create_table :submissions do |t|
|
|
t.integer :form_id
|
|
t.json :data, default: {}
|
|
t.datetime :appended_at
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|