lumi-api/db/migrate/20190803152627_create_barcas.rb

13 lines
245 B
Ruby
Raw Permalink Normal View History

2019-08-03 16:23:52 +00:00
# frozen_string_literal: true
# Crear las barcas
class CreateBarcas < ActiveRecord::Migration[5.2]
def change
create_table :barcas do |t|
t.timestamps
t.string :nombre, unique: true
t.text :descripcion
end
end
end