14 lines
358 B
Ruby
14 lines
358 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateExportTemplates < ActiveRecord::Migration[7.0]
|
|
def change
|
|
create_table :export_templates do |t|
|
|
t.string :name, null: false
|
|
t.string :kind, null: false
|
|
t.jsonb :content, default: {}
|
|
t.belongs_to :groupe_instructeur, null: false, foreign_key: true
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|