ToolJet/db/migrate/20210403052816_create_data_sources.rb

13 lines
288 B
Ruby
Raw Normal View History

2021-04-03 05:57:55 +00:00
class CreateDataSources < ActiveRecord::Migration[6.1]
def change
create_table :data_sources, id: :uuid do |t|
t.references :app, null: false, foreign_key: true, type: :uuid
t.string :name
t.json :options
t.string :kind
t.timestamps
end
end
end