mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-24 13:36:21 +00:00
14 lines
308 B
Ruby
14 lines
308 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
# Crea la tabla de deploys posibles para un sitio
|
||
|
class CreateDeploys < ActiveRecord::Migration[5.2]
|
||
|
def change
|
||
|
create_table :deploys do |t|
|
||
|
t.timestamps
|
||
|
t.belongs_to :site, index: true
|
||
|
t.string :type, index: true
|
||
|
t.text :values
|
||
|
end
|
||
|
end
|
||
|
end
|