Sha256: 404ff71d9f229b97bcb25c043f89f59a0d1360b298309597079ede9bd8541f68

Contents?: true

Size: 319 Bytes

Versions: 4

Compression:

Stored size: 319 Bytes

Contents

Sequel.migration do
  change do
    create_table(:resources) do
      primary_key :id

      String :name
      String :external_id # , null: false

      DateTime :created_at, null: false, default: Sequel::CURRENT_TIMESTAMP
      DateTime :updated_at, null: false, default: Sequel::CURRENT_TIMESTAMP
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
super_auth-0.1.3 db/migrate/5_resources.rb
super_auth-0.1.2 db/migrate/5_resources.rb
super_auth-0.1.1 db/migrate/5_resources.rb
super_auth-0.1.0 db/migrate/5_resources.rb