mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 11:44:02 +00:00
18 lines
345 B
Ruby
18 lines
345 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateTracksTable < ActiveRecord::Migration
|
|
def up
|
|
create_table :tracks do |t|
|
|
t.string :guid, null: false
|
|
t.references :conference
|
|
t.string :name, null: false
|
|
t.text :description
|
|
t.string :color, default: '#ffffff'
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
|
|
def down
|
|
end
|
|
end
|