12 lines
230 B
Ruby
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
|