5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-05-17 05:00:49 +00:00
panel/db/migrate/20190723220002_create_deploys.rb

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