Sha256: e935805bd0b7e4d9c32835387a205f13eeaf433d10dcdb7373aac402d2e020c3

Contents?: true

Size: 835 Bytes

Versions: 1

Compression:

Stored size: 835 Bytes

Contents

class CreateLesliBellNotificationActivities < ActiveRecord::Migration[7.0]
    #def change
        # table_base_structure = JSON.parse(File.read(Rails.root.join('db','structure','00000004_activities.json')))
        # create_table :cloud_bell_notification_activities do |t|
        #     table_base_structure.each do |column|
        #         t.send(
        #             column["type"].parameterize.underscore.to_sym,
        #             column["name"].parameterize.underscore.to_sym
        #         )
        #     end
        #     t.timestamps
        # end

        # add_reference   :cloud_bell_notification_activities, :cloud_bell_notifications, foreign_key: true, index: { name: "cloud_bell_activities_notifications" }
        # add_foreign_key :cloud_bell_notification_activities, :users, column: :users_id
    #end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lesli_bell-0.1.0 db/migrate/v1.0/0308100210_create_lesli_bell_notification_activities.rb