mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
13 lines
288 B
Ruby
13 lines
288 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateResourcesTable < ActiveRecord::Migration
|
|
def change
|
|
create_table :resources do |t|
|
|
t.string :name
|
|
t.text :description
|
|
t.integer :quantity
|
|
t.integer :used, default: 0
|
|
t.references :conference
|
|
end
|
|
end
|
|
end
|