ToolJet/db/migrate/20210403052816_create_data_sources.rb
2021-04-03 11:27:55 +05:30

12 lines
288 B
Ruby

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