Sha256: ae7ccf3fa70b9d5c6181b88e6864ce7c1836811e1c2ca06a2d0b486140c03cfe

Contents?: true

Size: 387 Bytes

Versions: 1

Compression:

Stored size: 387 Bytes

Contents

class NativeMigration < ActiveRecord::Migration<%= migration_version %>
    def change
        create_table :native_apps do |t|

            t.references Native.configuration.devise_class.downcase.to_sym, index: true

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

            t.datetime :last_used

            t.timestamps

        end
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
native-1.0.0 lib/generators/templates/apps_migration.rb.erb