Sha256: d58ad8d527dd094ef2b1b0ca1fe89cf41a5321122fcc1179d6a3adc41f16bda9

Contents?: true

Size: 370 Bytes

Versions: 4

Compression:

Stored size: 370 Bytes

Contents

class NativegapMigration < ActiveRecord::Migration<%= migration_version %>
    def change
        create_table :native_gap_apps do |t|

            t.references :owner, polymorphic: true, index: true

            t.string :platform, index: true
            t.string :url, index: true

            t.datetime :last_used

            t.timestamps

        end
    end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nativegap-3.0.3 lib/generators/templates/apps_migration.rb.erb
nativegap-3.0.2 lib/generators/templates/apps_migration.rb.erb
nativegap-3.0.1 lib/generators/templates/apps_migration.rb.erb
nativegap-3.0.0 lib/generators/templates/apps_migration.rb.erb