mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-21 21:47:17 +00:00
13 lines
288 B
Ruby
13 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
|