Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $schema['hello_user_statistics'] = [
- 'description' => 'Stores user connection statistics.',
- 'fields' => [
- 'id' => [
- 'type' => 'serial',
- 'description' => 'Primary Key: Unique history ID.',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- ],
- 'time' => [
- 'type' => 'int',
- 'description' => 'Timestamp of user action.',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- ],
- 'uid' => [
- 'type' => 'int',
- 'description' => 'Store user action.',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- ],
- ],
- 'primary key' => ['id'],
- ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement