mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Apply form template to categories (#20337)
This commit is contained in:
12
db/migrate/20230213234415_create_category_form_templates.rb
Normal file
12
db/migrate/20230213234415_create_category_form_templates.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class CreateCategoryFormTemplates < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
create_table :category_form_templates do |t|
|
||||
t.references :category, null: false
|
||||
t.references :form_template, null: false
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user