Sha256: 51cc93b86d032cbf45cc7edaa46a85b81962c562ea4e2e84f3e2149cd7c15b58
Contents?: true
Size: 382 Bytes
Versions: 1
Compression:
Stored size: 382 Bytes
Contents
class CreateApplications < ActiveRecord::Migration def table_name RestPack::Core::Service.config.prefix_db_table(:applications) end def change create_table table_name do |t| t.string :name, :null => false, :limit => 256 t.string :api_token, :null => false, :limit => 512 t.integer :account_id, :null => false t.timestamps end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
restpack_core_service-0.0.5 | db/migrate/20130807103945_create_applications.rb |