Sha256: 62c95cbdec259a07fc8d6f20300ef2f6542e9703692eb76dbc7a9d0dfc073e2c

Contents?: true

Size: 380 Bytes

Versions: 9

Compression:

Stored size: 380 Bytes

Contents

class CreateRoles < ActiveRecord::Migration[4.2]
  def change
    create_table "roles" do |t|
      t.column :name, :string, :null => false
      t.column :display_name, :string
      t.column :note, :text
      t.column :created_at, :datetime
      t.column :updated_at, :datetime
      t.integer :score, :default => 0, :null => false
      t.integer :position
    end
  end
end

Version data entries

9 entries across 9 versions & 5 rubygems

Version Path
enju_purchase_request-0.3.2 spec/dummy/db/migrate/041_create_roles.rb
enju_loc-0.3.1 spec/dummy/db/migrate/041_create_roles.rb
enju_purchase_request-0.3.1 spec/dummy/db/migrate/041_create_roles.rb
enju_loc-0.3.0 spec/dummy/db/migrate/041_create_roles.rb
enju_search_log-0.3.0.beta.1 spec/dummy/db/migrate/041_create_roles.rb
enju_purchase_request-0.3.0.beta.1 spec/dummy/db/migrate/041_create_roles.rb
enju_loc-0.3.0.beta.1 spec/dummy/db/migrate/041_create_roles.rb
enju_leaf-1.3.0.beta.2 spec/dummy/db/migrate/041_create_roles.rb
enju_manifestation_viewer-0.3.0.beta.1 spec/dummy/db/migrate/041_create_roles.rb