Sha256: da2660e14d16ece4db433e513298863503f03559c081a9637ba016e3fcaf27a9
Contents?: true
Size: 578 Bytes
Versions: 1
Compression:
Stored size: 578 Bytes
Contents
# vim: set nosta noet ts=4 sw=4: ### The initial Thingfish::Metastore::PG DDL. ### class Initial < Sequel::Migration def up create_schema( :thingfish, if_not_exists: true ) create_table( :metadata ) do uuid :oid, primary_key: true text :format, null: false int :extent, null: false timestamptz :created, null: false, default: Sequel.function(:now) inet :uploadaddress, null: false jsonb :user_metadata, null: false, default: '{}' end end def down drop_table( :metadata ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thingfish-metastore-pg-0.3.0 | data/thingfish-metastore-pg/migrations/20150114_initial.rb |