Sha256: 848697828e1c212c1c27dc5a6cf1f7c5f29fbf11aeafd52b3c1640e3ea7f79a7
Contents?: true
Size: 357 Bytes
Versions: 4
Compression:
Stored size: 357 Bytes
Contents
Sequel.migration do change do create_table(:groups) do primary_key :id String :name, null: false foreign_key :parent_id, :groups, deferrable: true, type: :integer 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/2_groups.rb |
super_auth-0.1.2 | db/migrate/2_groups.rb |
super_auth-0.1.1 | db/migrate/2_groups.rb |
super_auth-0.1.0 | db/migrate/2_groups.rb |