mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
12 lines
284 B
Ruby
12 lines
284 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateCommercials < ActiveRecord::Migration
|
|
def change
|
|
create_table :commercials do |t|
|
|
t.string :commercial_id
|
|
t.string :commercial_type
|
|
t.references :commercialable, polymorphic: true
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|