Sha256: 839f04e32103baa1b7764a3059e5147ff1b0b31210dd8287b65cc4f7e8f50bb4
Contents?: true
Size: 525 Bytes
Versions: 2
Compression:
Stored size: 525 Bytes
Contents
require 'sequel' Sequel.migration do change do unless table_exists?(:pokemons) create_table :pokemons do primary_key :id Integer :number index :number, unique: true String :name index :name String :description Float :hight Float :weight String :category Text :abilities Text :gender Text :types Text :weakness Text :stats Time :created_at Time :updated_at end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pokeedex-0.1.5 | lib/pokeedex/db/migrations/001_create_pokemons.rb |
pokeedex-0.1.0 | lib/pokeedex/db/migrations/001_create_pokemons.rb |