tinyforms/db/migrate/20200405161905_create_submissions.rb
2020-04-05 23:35:53 +02:00

12 lines
230 B
Ruby

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