tinyforms/db/migrate/20200405161905_create_submissions.rb
2020-04-28 01:40:06 +02:00

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