Sha256: 4624c744ca3c3389835f99879edd980adfd5700c9ef86c6a41759c93f5342b63

Contents?: true

Size: 427 Bytes

Versions: 6

Compression:

Stored size: 427 Bytes

Contents

Sequel.migration do
  up do
    run "CREATE TABLE `groups` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(128) DEFAULT NULL,
  `active` tinyint(1) unsigned DEFAULT '1',
  `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;"
  end

  down do
    drop_table :groups
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
legion-data-1.1.5 lib/legion/data/migrations/003_add_groups.rb
legion-data-1.1.4 lib/legion/data/migrations/003_add_groups.rb
legion-data-java-1.1.3 lib/legion/data/migrations/003_add_groups.rb
legion-data-1.1.3 lib/legion/data/migrations/003_add_groups.rb
legion-data-java-1.1.2 lib/legion/data/migrations/003_add_groups.rb
legion-data-1.1.2 lib/legion/data/migrations/003_add_groups.rb