ToolJet/db/migrate/20210519071114_create_folders.rb
2021-05-19 13:05:26 +05:30

10 lines
245 B
Ruby

class CreateFolders < ActiveRecord::Migration[6.1]
def change
create_table :folders, id: :uuid do |t|
t.string :name
t.references :organization, null: false, foreign_key: true, type: :uuid
t.timestamps
end
end
end