mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
10 lines
253 B
Ruby
10 lines
253 B
Ruby
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
|